summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Oliver Stöneberg <oliverst@online.de>2015-01-08 12:21:57 +0100
committer Oliver Stöneberg <oliverst@online.de>2015-01-08 12:21:57 +0100
commit1178b2dc22abb59180ce519a928547a2af3a82fb (patch)
tree4b520508787216eb1789595365ce4ae6e094b478
parenta2a0deb682d558dd7f1a707f4966a07fc21bcf9e (diff)
osd_work: use same SPIN_LOOP_TIME value on all platforms (nw)
-rw-r--r--src/osd/modules/sync/work_osd.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/osd/modules/sync/work_osd.c b/src/osd/modules/sync/work_osd.c
index 950f26ae530..5ffd93081c3 100644
--- a/src/osd/modules/sync/work_osd.c
+++ b/src/osd/modules/sync/work_osd.c
@@ -54,13 +54,7 @@ typedef void *PVOID;
#define ENV_PROCESSORS "OSDPROCESSORS"
#define ENV_WORKQUEUEMAXTHREADS "OSDWORKQUEUEMAXTHREADS"
-// TODO: use either
-// TODO: make configurable via environment for tests
-#if defined(OSD_WINDOWS)
-#define SPIN_LOOP_TIME (osd_ticks_per_second() / 50000)
-#else
#define SPIN_LOOP_TIME (osd_ticks_per_second() / 10000)
-#endif
//============================================================
// MACROS