Make some quick fixes and cleanup

This commit is contained in:
Justine Tunney 2022-06-26 02:58:36 -07:00
parent fa5c2a24b5
commit 61257d48d4
63 changed files with 275 additions and 257 deletions

View file

@ -26,7 +26,7 @@
int cthread_memory_wait32(int* addr, int val, const struct timespec* timeout) {
size_t size;
if (IsLinux() || IsOpenbsd()) {
if (IsLinux() /* || IsOpenbsd() */) {
return _futex_wait(addr, val, timeout);
} else {
return sched_yield();
@ -34,7 +34,7 @@ int cthread_memory_wait32(int* addr, int val, const struct timespec* timeout) {
}
int cthread_memory_wake32(int* addr, int n) {
if (IsLinux() || IsOpenbsd()) {
if (IsLinux() /* || IsOpenbsd() */) {
return _futex_wake(addr, n);
} else {
return 0;