summaryrefslogtreecommitdiff
path: root/examples/locking.py
AgeCommit message (Collapse)AuthorFilesLines
2006-11-28fix python shebang lineJean-Yves Lefort1-1/+1
Correct the python shebang line so that python can be found otuside of /usr/bin.
2005-05-23Never ever use sync as it reduces performance and makes people believe thatDavid Zeuthen1-2/+6
it wears out their drives (RH bug #157674) Fixup this a little bit Update the man page to reflect latest changes. Fix a doublefree when acquiring lock (RH bug #158474)
2005-03-01Fixup this function to work with the new D-BUS API (device_lock): BeDavid Zeuthen1-1/+1
consistent with new D-BUS naming, e.g. use info.locked.dbus_name instead of info.lock.dbus_service (device_unlock): -do- (service_deleted): Use NameOwnerChanged instead of NameLost as the latter only goes to the service who's lost the name (hald_dbus_filter_function): -do- (hald_dbus_init): Subscribe to NameOwnerChanged rather than NameLost Fixup to use get_unique_name() instead of get_base_service()
2004-09-19Removed (agent_merge_properties): Removed (agent_manager_remove): RemovedDavid Zeuthen1-0/+44
(agent_manager_commit_to_gdl): Removed (agent_manager_new_device): Removed (filter_function): Removed all the AgentManager methods (raise_udi_in_use): Removed Add docs for info.locked. Remove section about HAL agents as they are now gone. Fixed up renaming of scsi_device to scsi. Remove HAL Agents Update diagram since we now use a local socket from hal.hotplug and hal.dev helpers. New file; shows how to use locking