bus_name_has_owner in python
Tony Houghton
h at realh.co.uk
Sun Mar 18 08:39:05 PDT 2007
In <45FD516F.8020106 at redhat.com>, Havoc Pennington wrote:
> Tony Houghton wrote:
> >Thanks. It definitely makes more sense to do it that way; I hadn't
> >thought about the race condition before or noticed how useful were the
> >return codes and flags for dbus_bus_request_name(). I've got a C program
> >that uses D-BUS too and when I originally wrote the code for that the
> >function was still called dbus_bus_acquire_service(). Did its API get
> >extended or the documentation for it get improved at some point?
>
> Here are the docs, I'll let you decide if they are improved:
> http://dbus.freedesktop.org/doc/dbus/api/html/group__DBusBus.html#gecebc2e12d4bac3602948da32ecc35cd
That's what I was looking at just before I wrote the above message. What
I meant was it's very well documented and I don't remember having such a
good guide when I originally wrote the code a couple of years ago.
--
TH * http://www.realh.co.uk
More information about the dbus
mailing list