File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 10741074\texttt {fcntl } function.
10751075\item It is common that given implementation prefers writer threads to
10761076reader threads. E.g. if a lock is owned by writer and some other thread
1077- calls \funnm {pthread\_ rwlock\_ rdlock} and there is at least one thread
1078- waiting in \funnm {pthread\_ rwlock\_ wrlock}, the writer will be given
1079- precedence.
1077+ calls funtion \funnm {pthread\_ rwlock\_ rdlock} and there is at least one thread
1078+ waiting in \funnm {pthread\_ rwlock\_ wrlock}, the writer will be given precedence.
10801079\item There is maximal count of locking operations in given implementation
10811080(inferred from the type that holds the lock count). If the maximum is reached
10821081\funnm {pthread\_ rwlock\_ rdlock} returns the \texttt {EAGAIN } error.
10831082\end {itemize }
10841083
1085-
10861084% %%%%
10871085
10881086\pdfbookmark [1]{pthread\_ rwlock\_ wrlock, pthread\_ rwlock\_ trywrlock,%
You can’t perform that action at this time.
0 commit comments