aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-01-16 15:32:23 +0000
committergingerBill <bill@gingerbill.org>2023-01-16 15:32:23 +0000
commitd085283f203e0ead3f1402e28333221ae1d37ea6 (patch)
tree876e486d861c685708418d53f69a7ea022effd5c
parentb6ca10cd5eec06bc0f9d875cbff29d602fb01bf1 (diff)
Fix `cnd_timedwait`
-rw-r--r--core/c/libc/threads.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/c/libc/threads.odin b/core/c/libc/threads.odin
index f6aae2e98..60c375bf8 100644
--- a/core/c/libc/threads.odin
+++ b/core/c/libc/threads.odin
@@ -108,7 +108,7 @@ when ODIN_OS == .Linux {
cnd_destroy :: proc(cond: ^cnd_t) ---
cnd_init :: proc(cond: ^cnd_t) -> int ---
cnd_signal :: proc(cond: ^cnd_t) -> int ---
- cnd_timedwait :: proc(cond: ^cnd_t, ts: ^timespec) -> int ---
+ cnd_timedwait :: proc(cond: ^cnd_t, mtx: ^mtx_t, ts: ^timespec) -> int ---
cnd_wait :: proc(cond: ^cnd_t, mtx: ^mtx_t) -> int ---
// 7.26.4 Mutex functions