We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b02fba commit 619928cCopy full SHA for 619928c
threads.tex
@@ -1212,6 +1212,7 @@
1212
thread for writing (and no one for reading).
1213
\item Read-write locks are semantically similar to locking files using
1214
\texttt{fcntl} function.
1215
+\item See \example{pthreads/pthread-rwlock.c} for a classic use case.
1216
\item It is common that a given implementation prefers writer threads to
1217
reader threads. E.g. if a lock is owned by a writer while some other thread
1218
calls function \funnm{pthread\_rwlock\_rdlock} and there is at least one thread
0 commit comments