about summary refs log tree commit diff
path: root/library/std/src/sys/pal/unix/sync
AgeCommit message (Collapse)AuthorLines
2025-04-24Work around cygwin issue on timeout王宇逸-1/+4
2025-02-12expect EINVAL for pthread_mutex_destroy for aixHenry Jiang-3/+3
2024-11-30std: clarify comments about initializationjoboet-9/+11
2024-10-28std: refactor `pthread`-based synchronizationjoboet-0/+321
The non-trivial code for `pthread_condvar` is duplicated across the thread parking and the `Mutex`/`Condvar` implementations. This PR moves that code into `sys::pal`, which now exposes a non-movable wrapper type for `pthread_mutex_t` and `pthread_condvar_t`.