mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 12:42:02 +00:00
mutex uuid creation
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16067 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -74,6 +74,8 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "uuid.h"
|
||||
|
||||
/* #define DEBUG_ALLOC */
|
||||
#define DO_EVENTS
|
||||
|
||||
@@ -192,6 +194,7 @@ struct switch_runtime {
|
||||
char uuid_str[SWITCH_UUID_FORMATTED_LENGTH + 1];
|
||||
uint32_t flags;
|
||||
switch_time_t timestamp;
|
||||
switch_mutex_t *uuid_mutex;
|
||||
switch_mutex_t *throttle_mutex;
|
||||
switch_mutex_t *session_hash_mutex;
|
||||
switch_mutex_t *global_mutex;
|
||||
@@ -212,6 +215,7 @@ struct switch_runtime {
|
||||
char *odbc_user;
|
||||
char *odbc_pass;
|
||||
uint32_t debug_level;
|
||||
uuid_t *uuid;
|
||||
};
|
||||
|
||||
extern struct switch_runtime runtime;
|
||||
|
||||
Reference in New Issue
Block a user