From c98a6ff9e99bd7f0513e940933d518c1e2ba16aa Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sat, 29 Aug 1998 21:46:42 +0000 Subject: [PATCH] Document important limitation of this basic implementation --- libraries/liblthread/rdwr.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libraries/liblthread/rdwr.c b/libraries/liblthread/rdwr.c index 8de2be407a..51c15e8e30 100644 --- a/libraries/liblthread/rdwr.c +++ b/libraries/liblthread/rdwr.c @@ -1,3 +1,10 @@ +/* +** This basic implementation of Reader/Writer locks does not +** protect writers from starvation. That is, if a writer is +** currently waiting on a reader, any new reader will get +** the lock before the writer. +*/ + /******************************************************** * An example source module to accompany... * -- 2.39.5