about summary refs log tree commit diff
path: root/library/std/src/sys/pal/unix/locks
AgeCommit message (Collapse)AuthorLines
2024-02-16std: move locks to `sys` on UNIX and other futex platformsjoboet-1578/+0
2024-02-11add doc-comment to `unlock_queue`joboet-0/+3
2024-02-09address review commentsjoboet-21/+19
2024-02-09be more explicit about why adding backlinks eagerly makes sensejoboet-6/+7
2024-02-09format using latest rustfmtjoboet-4/+12
2024-02-09inline some single-use functions, add documentationjoboet-23/+23
2024-02-09queue_rwlock: use a separate `QUEUE_LOCKED` bit to synchronize waiter queue ↵joboet-144/+195
updates
2024-02-09use exponential backoff in `lock_contended`joboet-2/+4
2024-02-09immediately register writer node if threads are queuedjoboet-2/+3
2024-02-09avoid unnecessary `Thread` handle allocationjoboet-1/+2
2024-02-09use braces to make operator precedence less ambiguousjoboet-1/+1
2024-02-09adjust code documentationjoboet-2/+2
2024-02-09std: replace pthread `RwLock` with custom implementation inspired by usyncjoboet-197/+494
2024-01-29std: always check the result of `pthread_mutex_lock`joboet-1/+18
2024-01-11std: begin moving platform support modules into `pal`joboet-0/+1199