mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 14:58:30 +00:00
Test recursive mutex code more
This commit is contained in:
parent
d50d954a3c
commit
95fee8614d
4 changed files with 95 additions and 11 deletions
|
@ -75,6 +75,7 @@ typedef struct pthread_mutex_s {
|
|||
int32_t _pid;
|
||||
_PTHREAD_ATOMIC(int32_t) _futex;
|
||||
};
|
||||
/* this cleverly overlaps with NSYNC struct Dll *waiters; */
|
||||
_PTHREAD_ATOMIC(uint64_t) _word;
|
||||
} pthread_mutex_t;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue