Fixed sched_yield

This commit is contained in:
Mikhail Grigorev 2022-10-30 22:19:24 +05:00 committed by Georgi Gerganov
parent 6417e59aad
commit 8dac3c6e10

2
ggml.c
View File

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