mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-02 20:58:15 +00:00
replaced pthread_yield with ssched_yield, fixed semaphore post:q
This commit is contained in:
@@ -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