dbus_connection_set_wakeup_main_function

Robert Greenwalt rgreenwalt at google.com
Thu Feb 5 08:28:54 PST 2009


Ah.  Adding some of this to the doxy comments would be very useful.  Thanks
for all the info!

Robert


On Wed, Feb 4, 2009 at 8:02 PM, Havoc Pennington <havoc.pennington at gmail.com
> wrote:

> One other bit of info that may help, basically what the wakeup main
> function does behind the scenes in GLib or Qt is that it writes a byte
> to a pipe the main thread is blocking on, thus kicking the main thread
> out of poll(). Or some other implementation with the same effect.
>
> Havoc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/dbus/attachments/20090205/ef7012e9/attachment.html 


More information about the dbus mailing list