mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-01-24 06:49:06 +01:00
Fixed sched_yield
This commit is contained in:
parent
6417e59aad
commit
8dac3c6e10
2
ggml.c
2
ggml.c
@ -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…
Reference in New Issue
Block a user