mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
add core param for controling timer
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16093 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -168,6 +168,11 @@ SWITCH_DECLARE(void) switch_time_set_nanosleep(switch_bool_t enable)
|
||||
NANO = enable ? 1 : 0;
|
||||
}
|
||||
|
||||
SWITCH_DECLARE(void) switch_time_set_cond_yield(switch_bool_t enable)
|
||||
{
|
||||
globals.use_cond_yield = enable ? 1 : 0;
|
||||
}
|
||||
|
||||
static switch_time_t time_now(int64_t offset)
|
||||
{
|
||||
switch_time_t now;
|
||||
|
Reference in New Issue
Block a user