Spaces:
Sleeping
Sleeping
Mikhail Grigorev
commited on
Commit
·
80b70f0
1
Parent(s):
12f76e3
Fixed sched_yield
Browse files
ggml.c
CHANGED
|
@@ -45,7 +45,7 @@ static int pthread_join(pthread_t thread, void* unused) {
|
|
| 45 |
return (int) WaitForSingleObject(thread, INFINITE);
|
| 46 |
}
|
| 47 |
|
| 48 |
-
int sched_yield (void) {
|
| 49 |
Sleep (0);
|
| 50 |
return 0;
|
| 51 |
}
|
|
|
|
| 45 |
return (int) WaitForSingleObject(thread, INFINITE);
|
| 46 |
}
|
| 47 |
|
| 48 |
+
static int sched_yield (void) {
|
| 49 |
Sleep (0);
|
| 50 |
return 0;
|
| 51 |
}
|