aboutsummaryrefslogtreecommitdiffstats
path: root/common/threads.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/threads.h')
-rw-r--r--common/threads.h13
1 files changed, 0 insertions, 13 deletions
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 <stdint.h>
@@ -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);