Fixed sched_yield

pull/116/head
Mikhail Grigorev 2 years ago committed by Georgi Gerganov
parent 6417e59aad
commit 8dac3c6e10

@ -45,7 +45,7 @@ static int pthread_join(pthread_t thread, void* unused) {
return (int) WaitForSingleObject(thread, INFINITE); return (int) WaitForSingleObject(thread, INFINITE);
} }
int sched_yield (void) { static int sched_yield (void) {
Sleep (0); Sleep (0);
return 0; return 0;
} }

Loading…
Cancel
Save