option to avoid pthread_rwlock_t on macos #14468
Labels
bug
Observed behavior contradicts documented or intended behavior
os-macos
standard library
This issue involves writing Zig code for the standard library.
Milestone
pthread_rwlock_t is supposed to be read reentrant, but on macos it deadlocks. Zig's DefaultRwLock is read reentrant. It would be nice have a std_option to avoid pthread_rwlock_t.
The text was updated successfully, but these errors were encountered: