On Wed, 7 Jul 2004 22:58:29 +0200
Duncan Sands <[EMAIL PROTECTED]> wrote:

> Is there any chance that a writer will wait for ever because readers
> never stop coming?

If you want fairness, every kind of rw locks in Linux fails you.
You must use normal (non-rw) locks in such case.

> Is it important to have several different
> readers hold the lock at the same time?

Not typically. I argued against gratious use of rwlocks for years.
See http://www.advogato.org/person/Zaitcev/diary.html?start=153

-- Pete


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to