aboutsummaryrefslogtreecommitdiff
path: root/core/sync
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2020-06-22 13:32:58 +0100
committergingerBill <bill@gingerbill.org>2020-06-22 13:32:58 +0100
commit0ab356aa4e5dc8e16ee4c0ac008e19455ac3b906 (patch)
tree29d493178e55496afb241350a4615c6df70351cb /core/sync
parentb3c51a8b4488a34996fbad50228380fd1bd51f2f (diff)
Fix sync and thread on *nix
Diffstat (limited to 'core/sync')
-rw-r--r--core/sync/sync_unix.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/sync/sync_unix.odin b/core/sync/sync_unix.odin
index 4e7e57bd4..6b0c9b5f8 100644
--- a/core/sync/sync_unix.odin
+++ b/core/sync/sync_unix.odin
@@ -81,7 +81,7 @@ condition_signal :: proc(c: ^Condition) -> bool {
// Awaken all threads who are waiting on the condition
condition_broadcast :: proc(c: ^Condition) -> bool {
- return pthread_cond_broadcast(&c.handle) == 0;
+ return unix.pthread_cond_broadcast(&c.handle) == 0;
}
// Wait for the condition to be signalled.