aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKTRosenberg <ktr254@nyu.edu>2020-01-02 16:44:30 -0500
committerKTRosenberg <ktr254@nyu.edu>2020-01-02 16:44:30 -0500
commit673879d1d2d87440195458474cc221d8dc2ef78c (patch)
tree35d702accb1814dd412c2eda2ff26fb4e1e8c48c
parent5d1c9583cb42c43dd2b8ab320433de171d7d17a5 (diff)
added note about pthread_yield
-rw-r--r--core/sys/unix/pthread_linux.odin2
1 files changed, 2 insertions, 0 deletions
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 ---;
}