Signals & threads - low level C API [Newbie question]
Krishna R
sith.list at gmail.com
Thu Jan 25 18:55:23 PST 2007
Hi
Have another basic question. I have an app that needs to send and recv
signals.
1. I thought i will create a thread using pthread_create and set my
receiving filter func there and the main thread will continue to send. Is
this ok?
2. If i do the above, when i send the signal, the send function seems to
deadlock in dbus_connection_flush, or the call never returns (i assumed it
was somekind of deadlock).
Is there something bad i am doing?
Thanks for any help or insights.
--Krish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/dbus/attachments/20070125/7d270f5c/attachment.htm
More information about the dbus
mailing list