mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-29 06:34:19 +00:00
tweak softimer to not int type truncate microsecond interval time.c
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2728 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
3969362f6e
commit
fa4a1c4317
3 files changed
+5
-2
No files matched your search
@@ -169,7 +169,7 @@ switch_mutex_unlock(obj->flag_mutex);
|
||||
#ifdef HAVE_USLEEP
|
||||
#define switch_yield(ms) usleep(ms);
|
||||
#else
|
||||
#define switch_yield(ms) apr_sleep(ms * 10); //apr_thread_yield();
|
||||
#define switch_yield(ms) apr_sleep((ms) * 10); //apr_thread_yield();
|
||||
#endif
|
||||
|
||||
/*!
|
||||
|
||||
Reference in new issue
Block a user