disable new sleep on windows

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10332 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2008-11-11 15:30:52 +00:00
parent 0f8503f509
commit 2f469375cd
1 changed files with 3 additions and 1 deletions

View File

@ -408,8 +408,10 @@ SWITCH_MODULE_RUNTIME_FUNCTION(softtimer_runtime)
switch_mutex_init(&TIMER_MATRIX[1].mutex, SWITCH_MUTEX_NESTED, module_pool);
switch_thread_cond_create(&TIMER_MATRIX[1].cond, module_pool);
#ifndef WIN32
globals.use_cond_yield = globals.RUNNING == 1;
#endif
while (globals.RUNNING == 1) {
runtime.reference += STEP_MIC;