diff options
-rw-r--r-- | src/threading.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/threading.h b/src/threading.h index 9761f82..778b6a0 100644 --- a/src/threading.h +++ b/src/threading.h | |||
@@ -147,7 +147,7 @@ enum e_status { PENDING, RUNNING, WAITING, DONE, ERROR_ST, CANCELLED }; | |||
147 | // for some reason win32-pthread doesn't have pthread_yield(), but sched_yield() | 147 | // for some reason win32-pthread doesn't have pthread_yield(), but sched_yield() |
148 | #define YIELD() sched_yield() | 148 | #define YIELD() sched_yield() |
149 | #else | 149 | #else |
150 | #define YIELD() pthread_yield() | 150 | #define YIELD() sched_yield() |
151 | #endif | 151 | #endif |
152 | #define THREAD_CALLCONV | 152 | #define THREAD_CALLCONV |
153 | #endif //THREADAPI == THREADAPI_PTHREAD | 153 | #endif //THREADAPI == THREADAPI_PTHREAD |