mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
replaced pthread_yield with ssched_yield, fixed semaphore post:q
This commit is contained in:
@@ -52,7 +52,8 @@ foreign pthread {
|
||||
pthread_attr_setstack :: proc(attrs: ^pthread_attr_t, stack_ptr: rawptr, stack_size: u64) -> c.int ---;
|
||||
pthread_attr_getstack :: proc(attrs: ^pthread_attr_t, stack_ptr: ^rawptr, stack_size: ^u64) -> c.int ---;
|
||||
|
||||
pthread_yield :: proc() -> c.int ---;
|
||||
sched_yield :: proc() -> c.int ---;
|
||||
|
||||
}
|
||||
|
||||
@(default_calling_convention="c")
|
||||
|
||||
Reference in New Issue
Block a user