mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-20 09:30:31 +00:00
Use dynamic memory for *NSYNC waiters
This commit is contained in:
parent
15af5c2d7e
commit
241f949540
12 changed files with 171 additions and 72 deletions
2
third_party/nsync/wait_s.internal.h
vendored
2
third_party/nsync/wait_s.internal.h
vendored
|
@ -21,6 +21,8 @@ struct nsync_waiter_s {
|
|||
/* set if waiter is embedded in Mu/CV's internal structures */
|
||||
#define NSYNC_WAITER_FLAG_MUCV 0x1
|
||||
|
||||
void nsync_waiter_destroy(void *);
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_THREAD_WAIT_INTERNAL_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue