From d085283f203e0ead3f1402e28333221ae1d37ea6 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Mon, 16 Jan 2023 15:32:23 +0000 Subject: [PATCH] Fix `cnd_timedwait` --- core/c/libc/threads.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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