mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-01 17:51:48 -07:00
fix haiku
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 ---
|
||||
|
||||
Reference in New Issue
Block a user