Python DBus without gobject main loop

tsuraan tsuraan at gmail.com
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...
URL: http://lists.freedesktop.org/archives/dbus/attachments/20070110/b6023a4d/attachment.html


More information about the dbus mailing list