summaryrefslogtreecommitdiff
path: root/vpx_util/vpx_thread.h
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2019-02-18 17:03:54 -0800
committerJames Zern <jzern@google.com>2019-02-19 21:01:17 -0800
commitd6f7529d1576b21c39686272603364087d4f5b23 (patch)
tree8010750436a579724dae9620eb1e49ff58b5bb9f /vpx_util/vpx_thread.h
parent097afb6f43fbc9733fc1f69dd51b8795f1b7b8fa (diff)
downloadlibvpx-d6f7529d1576b21c39686272603364087d4f5b23.tar
libvpx-d6f7529d1576b21c39686272603364087d4f5b23.tar.gz
libvpx-d6f7529d1576b21c39686272603364087d4f5b23.tar.bz2
libvpx-d6f7529d1576b21c39686272603364087d4f5b23.zip
vpx_thread.h: remove unused sched_yield()
usage was removed with: c1b024b48 Modify map read/write to sync logic in row_mt case Change-Id: I515fe397083079a4f11702e67c322fd04bdcf410
Diffstat (limited to 'vpx_util/vpx_thread.h')
-rw-r--r--vpx_util/vpx_thread.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/vpx_util/vpx_thread.h b/vpx_util/vpx_thread.h
index 26de0de9f..6d308e949 100644
--- a/vpx_util/vpx_thread.h
+++ b/vpx_util/vpx_thread.h
@@ -212,16 +212,6 @@ static INLINE int pthread_cond_wait(pthread_cond_t *const condition,
return !ok;
}
-static INLINE int sched_yield() {
- int ok = 0;
-#if _WIN32_WINNT >= 0x0400 // Windows XP and above
- SwitchToThread();
-#else
- Sleep(0);
-#endif // _WIN32_WINNT >= 0x0400
- return ok;
-}
-
#elif defined(__OS2__)
#define INCL_DOS
#include <os2.h> // NOLINT