[patch] Add advisory locks to HAL devices

Joe Shaw joeshaw at novell.com
Mon Sep 13 12:14:46 PDT 2004


On Mon, 2004-09-13 at 08:54 +0000, Jesper Krogh wrote:
> Wouldn't it be nice to have the processid of the program that has
> obtained the lock directly? 

It keeps the dbus service ID, which is effectively the same thing.

> That would help hal or any other program to clean up if xmms crashed
> with a lock on my soundcard. 

The lock is released automatically when the dbus service disappears
(whether the app holding is quit normally or crashed).

Joe

_______________________________________________
hal mailing list
hal at freedesktop.org
http://freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list