fix haiku

This commit is contained in:
avanspector
2024-02-26 07:59:53 +01:00
parent 9d4c2ba0d8
commit 3ebf5dcc0e
4 changed files with 26 additions and 15 deletions
+1 -1
View File
@@ -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
+2
View File
@@ -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 ---