Re: generic sleeping locks?

From: Eli Carter (eli.carter@inet.com)
Date: Mon Dec 18 2000 - 18:08:25 EST


Alan Cox wrote:
>
> > Are there blocking lock primitives already defined somewhere in the
> > kernel?
>
> down and up are normally appropriate for this

Ungh. Forest. Trees. *sigh* Sorry for the dumb question.
Thanks for the reply Alan. :)

Ok, second part of the question: What about blocking read/write locks
(with _interruptible variants)?

TIA,

Eli
--------------------. "To the systems programmer, users and applications
Eli Carter | serve only to provide a test load."
eli.carter@inet.com `---------------------------------- (random fortune)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Dec 23 2000 - 21:00:23 EST