Skip to content

option to avoid pthread_rwlock_t on macos #14468

@billzez

Description

@billzez

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugObserved behavior contradicts documented or intended behavioros-macosstandard libraryThis issue involves writing Zig code for the standard library.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions