On Thu, Jun 21, 2001 at 01:56:28AM -0400, Igor Khavkine wrote:
> In the former case, how do I deal with
> rwlocks (what are these btw?)

A read write lock is like a file lock with LOCK_SH and LOCK_EX.  Acquiring
the reader lock locks out writers, and acquiring the writer lock locks out
everybody.  So readers can run in parallel, while writers are exclusive.

Marcus

-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org [EMAIL PROTECTED]
Marcus Brinkmann              GNU    http://www.gnu.org    [EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.marcus-brinkmann.de

_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to