bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

doc: Mention a macOS bug


From: Bruno Haible
Subject: doc: Mention a macOS bug
Date: Tue, 06 Aug 2024 16:06:01 +0200

Some unit test of the pthread_rwlock_trywrlock function, that I added to
the maint-tools repository, exhibits a problem on macOS 12. Documented like
this:


2024-08-06  Bruno Haible  <bruno@clisp.org>

        doc: Mention a macOS bug.
        * doc/posix-functions/pthread_rwlock_trywrlock.texi: Mention a macOS
        bug.

diff --git a/doc/posix-functions/pthread_rwlock_trywrlock.texi 
b/doc/posix-functions/pthread_rwlock_trywrlock.texi
index fc20316c5e..75367497da 100644
--- a/doc/posix-functions/pthread_rwlock_trywrlock.texi
+++ b/doc/posix-functions/pthread_rwlock_trywrlock.texi
@@ -17,4 +17,9 @@
 
 Portability problems not fixed by Gnulib:
 @itemize
+@item
+This function returns @code{EDEADLK} instead of @code{EBUSY}
+when the current thread already owns the lock for writing
+on some platforms:
+macOS 12.
 @end itemize






reply via email to

[Prev in Thread] Current Thread [Next in Thread]