replaced pthread_yield with ssched_yield, fixed semaphore post:q
This commit is contained in:
1 parent
93ead4bcb3
commit
d017b5de9d
5 files changed
+14
-6
No files matched your search
@@ -103,4 +103,6 @@ foreign pthread {
|
||||
sem_wait :: proc(sem: ^sem_t) -> c.int ---;
|
||||
sem_trywait :: proc(sem: ^sem_t) -> c.int ---;
|
||||
// sem_timedwait :: proc(sem: ^sem_t, timeout: time.TimeSpec) -> c.int ---;
|
||||
|
||||
pthread_yield :: proc() -> c.int ---;
|
||||
}
|
||||
Reference in new issue
Block a user