osd_work: use same SPIN_LOOP_TIME value on all platforms (nw)

This commit is contained in:
Oliver Stöneberg 2015-01-08 12:21:57 +01:00
parent a2a0deb682
commit 1178b2dc22

View File

@ -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