[avahi] Initializing DBus

Ryan Martindale ryanworkinghere at gmail.com
Thu Jul 15 12:16:21 PDT 2010


I am using Avahi in a multi-threaded environment and was noticing some
sporadic crashes. I believe I have tracked the problem down to the fact that
there is no dbus_threads_init_default() call made in Avahi. Should there be
a call to this DBus function in Avahi by default? Or is it expected that the
programmer should be aware enough to make the call to initialize DBus
correctly if he uses it in a multi-threaded environment? (Making this call
in my code has fixed my crashing issues.)

Thanks,
Ryan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/avahi/attachments/20100715/2a9c3ed8/attachment.htm>


More information about the avahi mailing list