From 673879d1d2d87440195458474cc221d8dc2ef78c Mon Sep 17 00:00:00 2001 From: KTRosenberg Date: Thu, 2 Jan 2020 16:44:30 -0500 Subject: [PATCH] added note about pthread_yield --- core/sys/unix/pthread_linux.odin | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/sys/unix/pthread_linux.odin b/core/sys/unix/pthread_linux.odin index 16137e471..09d27329c 100644 --- a/core/sys/unix/pthread_linux.odin +++ b/core/sys/unix/pthread_linux.odin @@ -104,5 +104,7 @@ foreign pthread { sem_trywait :: proc(sem: ^sem_t) -> 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 ---; }