diff options
| author | avanspector <avanspector@gmail.com> | 2024-02-26 07:59:53 +0100 |
|---|---|---|
| committer | avanspector <avanspector@gmail.com> | 2024-02-26 07:59:53 +0100 |
| commit | 3ebf5dcc0ec443cd822e1ddf8c80de7e606ca2f4 (patch) | |
| tree | ced658474c6e193cfff7c15459b83efb24ca46a8 /core/sys | |
| parent | 9d4c2ba0d84427885078affdce9f25478ce378a2 (diff) | |
fix haiku
Diffstat (limited to 'core/sys')
| -rw-r--r-- | core/sys/haiku/os.odin | 2 | ||||
| -rw-r--r-- | core/sys/unix/pthread_unix.odin | 2 |
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 --- |