mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-13 04:57:05 +00:00
change low res sleep func api names
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11486 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
1973ee74bc
commit
0463541d61
49 files changed
+180
-180
No files matched your search
@@ -874,7 +874,7 @@ SWITCH_STANDARD_SCHED_FUNC(sch_heartbeat_callback)
|
||||
switch_event_fire(&event);
|
||||
|
||||
/* reschedule this task */
|
||||
task->runtime = switch_timestamp(NULL) + session->track_duration;
|
||||
task->runtime = switch_epoch_time_now(NULL) + session->track_duration;
|
||||
|
||||
switch_core_session_rwunlock(session);
|
||||
}
|
||||
@@ -892,7 +892,7 @@ SWITCH_DECLARE(void) switch_core_session_sched_heartbeat(switch_core_session_t *
|
||||
{
|
||||
|
||||
switch_core_session_unsched_heartbeat(session);
|
||||
session->track_id = switch_scheduler_add_task(switch_timestamp(NULL), sch_heartbeat_callback, (char *) __SWITCH_FUNC__,
|
||||
session->track_id = switch_scheduler_add_task(switch_epoch_time_now(NULL), sch_heartbeat_callback, (char *) __SWITCH_FUNC__,
|
||||
switch_core_session_get_uuid(session), 0, strdup(switch_core_session_get_uuid(session)), SSHF_FREE_ARG);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user