mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-03 01:38:30 +00:00
Improve the affinity system calls
This commit is contained in:
parent
60b68d7152
commit
59ac141e49
19 changed files with 231 additions and 123 deletions
4
third_party/nsync/futex.c
vendored
4
third_party/nsync/futex.c
vendored
|
@ -160,7 +160,7 @@ int nsync_futex_wait_ (int *p, int expect, char pshare, struct timespec *timeout
|
|||
STRACE("futex(%t, %s, %d, %s) → %s",
|
||||
p, DescribeFutexOp (op), expect,
|
||||
DescribeTimespec (0, timeout),
|
||||
DescribeFutexResult (rc));
|
||||
DescribeErrnoResult (rc));
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
@ -201,7 +201,7 @@ int nsync_futex_wake_ (int *p, int count, char pshare) {
|
|||
|
||||
STRACE("futex(%t, %s, %d) → %s", p,
|
||||
DescribeFutexOp(op),
|
||||
count, DescribeFutexResult(rc));
|
||||
count, DescribeErrnoResult(rc));
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue