Mingw has sched.h but does not work

This commit is contained in:
Juan Jose Garcia Ripoll 2012-05-09 23:15:02 +02:00
parent 7fe3c475ae
commit 2fc1f35b51

View file

@ -24,10 +24,10 @@
void ECL_INLINE
ecl_process_yield()
{
#if defined(HAVE_SCHED_H)
sched_yield();
#elif defined(ECL_WINDOWS_THREADS)
#if defined(ECL_WINDOWS_THREADS)
Sleep(0);
#elif defined(HAVE_SCHED_H)
sched_yield();
#else
ecl_musleep(0.0, 1);*/
#endif