dbus fork problem

मयंक जैन (makuchaku) mayank.gnu at gmail.com
Wed Apr 4 23:14:59 PDT 2007


On 4/5/07, Sean Kang <sean_kang at samsung.com> wrote:
> After strugging for a while, we've noticed that dbus connection doesn't seem
> to work with fork() system call.
>
> The connection is copied but there is no API to properly close the
> connection so the new connection can be made.

Hi Sean,

Though I've not used dbus-glib bindings with a system in which I had
to fork, but maybe you can try dbus_g_connection_unref so that the
refcount goes to zero & the object is finalized.

I hope it helps :)
Makuchaku
http://www.makuchaku.info/blog


More information about the dbus mailing list