Package: glib

Function g-source-priority

Lambda List

g-source-priority (source)

Syntax

(g-source-priority source) => priority
(setf (g-source-priority source) => priority)

Arguments

source -- a g-source instance
priority -- an integer with the priority

Details

The g-source-priority function gets the priority of the source. The (setf g-source-priority) function sets the priority.

While the main loop is being run, a source will be dispatched if it is ready to be dispatched and no sources at a higher (numerically smaller) priority are ready to be dispatched.
 

See also

2021-12-10