mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-20 17:40:30 +00:00
Iterate more on recent changes
This commit is contained in:
parent
7138399f96
commit
d0ad2694ed
22 changed files with 90 additions and 158 deletions
5
third_party/nsync/mu_semaphore_gcd.c
vendored
5
third_party/nsync/mu_semaphore_gcd.c
vendored
|
@ -90,11 +90,6 @@ void nsync_mu_semaphore_init_gcd (nsync_semaphore *s) {
|
|||
*(dispatch_semaphore_t *)s = dispatch_semaphore_create (0);
|
||||
}
|
||||
|
||||
/* Releases system resources associated with *s. */
|
||||
void nsync_mu_semaphore_destroy_gcd (nsync_semaphore *s) {
|
||||
dispatch_release (*(dispatch_semaphore_t *)s);
|
||||
}
|
||||
|
||||
/* Wait until the count of *s exceeds 0, and decrement it. If POSIX cancellations
|
||||
are currently disabled by the thread, then this function always succeeds. When
|
||||
they're enabled in MASKED mode, this function may return ECANCELED. Otherwise,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue