[patch] Add advisory locks to HAL devices

Joe Shaw joeshaw at novell.com
Wed Sep 15 14:56:56 PDT 2004


On Sun, 2004-09-12 at 20:24 +0200, David Zeuthen wrote:
> Very cool, I just played around with it and it looks good. The only real
> comment I have is that the Lock() method shouldn't return anything and
> instead just throw an exception if the device is already locked.
> 
> Right now it returns either TRUE or [FALSE, reason] which is a bit
> difficult to catch when using language bindings.

Okay, fixed all these things in this current patch.  I couldn't test the
spec stuff, though... I've never been able to get it to build.

Joe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-lock-2.patch
Type: text/x-patch
Size: 17928 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20040915/d40fd776/hal-lock-2.bin
-------------- next part --------------
_______________________________________________
hal mailing list
hal at freedesktop.org
http://freedesktop.org/mailman/listinfo/hal


More information about the Hal mailing list