dbus/bus.py: Add watch_name_owner().
commit77566373b89e721e468f411507821ee8a5273fff
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 1 May 2007 11:18:50 +0000 (1 12:18 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 1 May 2007 11:18:50 +0000 (1 12:18 +0100)
tree306263dbab85bd12676301c7452997f08cbd33dd
parent77f19ef18864f3468b7373bd75461aad3239fe52
dbus/bus.py: Add watch_name_owner().
Use it to avoid a race in signal name matching.
Also change SignalMatch API from sender_unique being a public attribute to
having a method set_sender_name_owner(), and make it hashable so we can
use it to look up associated signal-sender matches in a dict.
dbus/bus.py
dbus/connection.py