]> git.sur5r.net Git - openldap/commitdiff
Document important limitation of this basic implementation
authorKurt Zeilenga <kurt@openldap.org>
Sat, 29 Aug 1998 21:46:42 +0000 (21:46 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sat, 29 Aug 1998 21:46:42 +0000 (21:46 +0000)
libraries/liblthread/rdwr.c

index 8de2be407a16c7f8caa8fc83d49506ea141255c5..51c15e8e30afb084d9c16c09c89f87e7e0568070 100644 (file)
@@ -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...
  *