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:
Michael Jerris committed 2006-09-17 22:13:51 +00:00
1 parent 3969362f6e
commit fa4a1c4317
3 files changed
+5 -2

No files matched your search

+1 -1
View File
@@ -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
/*!