how does dbus know

sfora dim sfora.dim at gmail.com
Tue Sep 23 04:18:19 PDT 2008


Hi all,

I have a multithreaded C application.
One of the threads is the main loop that is driving d-bus.
Most of the time it is blocking at poll (or select).

Now let's say that another thread sends a dbus message.
This message now should be processed and be sent out.

My question is how does the main loop knows to wake up in order
to call dbus ?
Is it notified by one of the watches ?

Thank you
Sfora


More information about the dbus mailing list