mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-05 02:38:31 +00:00
Add posix semaphores support
There's still some bugs to work out on Windows and OpenBSD.
This commit is contained in:
parent
f52f65b2e3
commit
8111462789
36 changed files with 779 additions and 59 deletions
4
third_party/nsync/futex.internal.h
vendored
4
third_party/nsync/futex.internal.h
vendored
|
@ -7,8 +7,8 @@ COSMOPOLITAN_C_START_
|
|||
|
||||
extern bool FUTEX_TIMEOUT_IS_ABSOLUTE;
|
||||
|
||||
int nsync_futex_wake_(int *, int, char);
|
||||
int nsync_futex_wait_(int *, int, char, struct timespec *);
|
||||
int nsync_futex_wake_(_Atomic(int) *, int, char);
|
||||
int nsync_futex_wait_(_Atomic(int) *, int, char, struct timespec *);
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue