replaced pthread_yield with ssched_yield, fixed semaphore post:q
This commit is contained in:
1 parent
93ead4bcb3
commit
d017b5de9d
5 files changed
+14
-6
No files matched your search
@@ -158,5 +158,5 @@ destroy :: proc(t: ^Thread) {
|
||||
|
||||
|
||||
yield :: proc() {
|
||||
unix.pthread_yield();
|
||||
unix.sched_yield();
|
||||
}
|
||||
Reference in new issue
Block a user