Lines Matching full:glib
10 #include <glib.h>
22 // Return a timeout suitable for the glib loop, -1 to block forever,
38 // A brief refresher on GLib:
39 // GLib sources have four callbacks: Prepare, Check, Dispatch and Finalize.
40 // On each iteration of the GLib pump, it calls each source's Prepare function.
41 // This function should return TRUE if it wants GLib to call its Dispatch, and
44 // After the Prepare calls, GLib does a poll to check for events from the
48 // After the poll, GLib calls Check for each source that returned FALSE
50 // making Check a second chance to tell GLib we are ready for Dispatch.
51 // Finally, GLib calls Dispatch for each source that is ready. If Dispatch
52 // returns FALSE, GLib will destroy the source. Dispatch calls may be recursive
80 // For the GLib pump we try to follow the Windows UI pump model:
148 "this is unsupported by GLib!"; in CheckThread()
233 // The glib poll will tell us whether there was data, so this read in HandleCheck()