mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-08 08:51:50 +00:00
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:
parent
0f8503f509
commit
2f469375cd
@ -408,7 +408,9 @@ SWITCH_MODULE_RUNTIME_FUNCTION(softtimer_runtime)
|
|||||||
switch_mutex_init(&TIMER_MATRIX[1].mutex, SWITCH_MUTEX_NESTED, module_pool);
|
switch_mutex_init(&TIMER_MATRIX[1].mutex, SWITCH_MUTEX_NESTED, module_pool);
|
||||||
switch_thread_cond_create(&TIMER_MATRIX[1].cond, module_pool);
|
switch_thread_cond_create(&TIMER_MATRIX[1].cond, module_pool);
|
||||||
|
|
||||||
|
#ifndef WIN32
|
||||||
globals.use_cond_yield = globals.RUNNING == 1;
|
globals.use_cond_yield = globals.RUNNING == 1;
|
||||||
|
#endif
|
||||||
|
|
||||||
while (globals.RUNNING == 1) {
|
while (globals.RUNNING == 1) {
|
||||||
runtime.reference += STEP_MIC;
|
runtime.reference += STEP_MIC;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user