usleep() does not exists on Windows. Use Sleep() instead. But the
resolution timers are not good on Windows. the sleep will be around
50ms at best.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@59466
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
LKU(_ecore_pending_job_threads_mutex);
/* Sleep a little to prevent premature death */
+#ifdef _WIN32
+ Sleep(1); /* around 50ms */
+#else
usleep(200);
+#endif
LKL(_ecore_pending_job_threads_mutex);
if (_ecore_pending_job_threads || _ecore_pending_job_threads_feedback)