[patch] Add advisory locks to HAL devices
Robert Love
rml at ximian.com
Mon Sep 13 11:07:54 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?
The processes lifecycle may be shorter than the lifecycle of the lock,
e.g. mount.
> That would help hal or any other program to clean up if xmms crashed
> with a lock on my soundcard.
Maybe we can tie the lock to a resource owned by the process and notice
when the process dies and release the lock?
This would have to be an alternative use case, though, because of again
mount etc.
Robert Love
_______________________________________________
hal mailing list
hal at freedesktop.org
http://freedesktop.org/mailman/listinfo/hal
More information about the Hal
mailing list