mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 21:22:09 +00:00
try to use clock_gettime to make sure we don't care if the system time changes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7165 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -158,6 +158,8 @@ struct switch_media_bug {
|
||||
|
||||
struct switch_runtime {
|
||||
switch_time_t initiated;
|
||||
switch_time_t reference;
|
||||
int64_t offset;
|
||||
switch_hash_t *global_vars;
|
||||
switch_hash_t *mime_types;
|
||||
switch_memory_pool_t *memory_pool;
|
||||
|
||||
@@ -1536,6 +1536,8 @@ SWITCH_DECLARE(void) switch_core_memory_reclaim_events(void);
|
||||
SWITCH_DECLARE(void) switch_core_memory_reclaim_logger(void);
|
||||
SWITCH_DECLARE(void) switch_core_memory_reclaim_all(void);
|
||||
SWITCH_DECLARE(void) switch_core_setrlimits(void);
|
||||
SWITCH_DECLARE(void) switch_time_sync(void);
|
||||
SWITCH_DECLARE(time_t) switch_timestamp(time_t *t);
|
||||
|
||||
///\}
|
||||
|
||||
|
||||
@@ -1065,7 +1065,8 @@ typedef enum {
|
||||
SCSC_SPS,
|
||||
SCSC_LAST_SPS,
|
||||
SCSC_RECLAIM,
|
||||
SCSC_MAX_SESSIONS
|
||||
SCSC_MAX_SESSIONS,
|
||||
SCSC_SYNC_CLOCK
|
||||
} switch_session_ctl_t;
|
||||
|
||||
typedef struct apr_pool_t switch_memory_pool_t;
|
||||
|
||||
Reference in New Issue
Block a user