aboutsummaryrefslogtreecommitdiff
path: root/core/sys
diff options
context:
space:
mode:
Diffstat (limited to 'core/sys')
-rw-r--r--core/sys/haiku/os.odin2
-rw-r--r--core/sys/unix/pthread_unix.odin2
2 files changed, 3 insertions, 1 deletions
diff --git a/core/sys/haiku/os.odin b/core/sys/haiku/os.odin
index 6aa156ce5..b77d50f80 100644
--- a/core/sys/haiku/os.odin
+++ b/core/sys/haiku/os.odin
@@ -139,7 +139,7 @@ foreign libroot {
*/
disable_debugger :: proc(state: c.int) -> c.int ---
- find_thread(name: cstring) -> thread_id ---
+ find_thread :: proc(name: cstring) -> thread_id ---
}
// Signal.h
diff --git a/core/sys/unix/pthread_unix.odin b/core/sys/unix/pthread_unix.odin
index 5ac4782f3..2759d5aae 100644
--- a/core/sys/unix/pthread_unix.odin
+++ b/core/sys/unix/pthread_unix.odin
@@ -16,6 +16,8 @@ foreign pthread {
// retval is a pointer to a location to put the return value of the thread proc.
pthread_join :: proc(t: pthread_t, retval: ^rawptr) -> c.int ---
+ pthread_kill :: proc(t: pthread_t, sig: c.int) -> c.int ---
+
pthread_self :: proc() -> pthread_t ---
pthread_equal :: proc(a, b: pthread_t) -> b32 ---