From d06f76957c6ea2bf5311322e103946b45bde9796 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 26 Nov 2018 23:06:49 -0800 Subject: Remove althrd_yield --- common/threads.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'common/threads.h') diff --git a/common/threads.h b/common/threads.h index 064b8482..a357b494 100644 --- a/common/threads.h +++ b/common/threads.h @@ -34,12 +34,6 @@ enum { typedef HANDLE alsem_t; - -inline void althrd_yield(void) -{ - SwitchToThread(); -} - #else #include @@ -57,13 +51,6 @@ typedef dispatch_semaphore_t alsem_t; typedef sem_t alsem_t; #endif /* __APPLE__ */ - -inline void althrd_yield(void) -{ - sched_yield(); -} - - #endif void althrd_setname(const char *name); -- cgit v1.2.3