mutex uuid creation

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16067 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2009-12-28 22:04:50 +00:00
parent 638790af30
commit 0c63f02f75
3 changed files with 10 additions and 2 deletions
+4
View File
@@ -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;