mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-31 11:50:07 +00:00
Update thread_unix logic
This commit is contained in:
@@ -14,7 +14,7 @@ foreign pthread {
|
||||
pthread_create :: proc(t: ^pthread_t, attrs: ^pthread_attr_t, routine: proc(data: rawptr) -> rawptr, arg: rawptr) -> c.int ---;
|
||||
|
||||
// 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_join :: proc(t: pthread_t, retval: ^rawptr) -> c.int ---;
|
||||
|
||||
pthread_self :: proc() -> pthread_t ---;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user