mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
added note about pthread_yield
This commit is contained in:
@@ -104,5 +104,7 @@ foreign pthread {
|
|||||||
sem_trywait :: 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 ---;
|
// sem_timedwait :: proc(sem: ^sem_t, timeout: time.TimeSpec) -> c.int ---;
|
||||||
|
|
||||||
|
// NOTE: unclear whether pthread_yield is well-supported on Linux systems,
|
||||||
|
// see https://linux.die.net/man/3/pthread_yield
|
||||||
pthread_yield :: proc() -> c.int ---;
|
pthread_yield :: proc() -> c.int ---;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user