Python DBus without gobject main loop

tsuraan tsuraan at
Wed Jan 10 14:44:41 PST 2007

> Has any progress been made towards running DBus without the gnome
> mainloop?  My only problem with it is that they don't seem to unlock the
> GIL, so I can't spawn the mainloop off in a thread and continue running my
> program (which is written and generally working).  I'd really like to not
> have to figure out how to re-work everything so that it's driven by the
> Gnome loop, since that doesn't seem like a lot of fun...

I guess it is possible to run the gobject.MainLoop in a thread and do other
things, by first calling gobject.threads_init() and then calling
dbus.glib.init_threads().  Is there a FAQ for the python dbus stuff?  Is
there even a web page for the python dbus API?
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the dbus mailing list