diff options
author | Chris Robinson <[email protected]> | 2018-11-26 23:06:49 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-26 23:06:49 -0800 |
commit | d06f76957c6ea2bf5311322e103946b45bde9796 (patch) | |
tree | 81ccb8de0a66a74568821bca8f09b9705851ac08 /common/threads.h | |
parent | 4c1fc3ae00ad4890708a8789539eea4556b0634c (diff) |
Remove althrd_yield
Diffstat (limited to 'common/threads.h')
-rw-r--r-- | common/threads.h | 13 |
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); |