Changeset 686:f83d9878bf66 in freeDiameter for libfdproto
- Timestamp:
- Jan 19, 2011, 2:35:14 PM (13 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- libfdproto
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libfdproto/messages.c
r658 r686 1109 1109 1110 1110 /******************* End-to-end counter *********************/ 1111 uint32_t fd_eteid;1112 pthread_mutex_t fd_eteid_lck = PTHREAD_MUTEX_INITIALIZER;1111 static uint32_t fd_eteid; 1112 static pthread_mutex_t fd_eteid_lck = PTHREAD_MUTEX_INITIALIZER; 1113 1113 1114 1114 void fd_msg_eteid_init(void) -
libfdproto/sessions.c
r662 r686 122 122 static pthread_mutex_t exp_lock = PTHREAD_MUTEX_INITIALIZER; /* lock protecting the list. */ 123 123 static pthread_cond_t exp_cond = PTHREAD_COND_INITIALIZER; /* condvar used by the expiry mecahinsm. */ 124 static pthread_t exp_thr ; /* The expiry thread that handles cleanup of expired sessions */124 static pthread_t exp_thr = (pthread_t)NULL; /* The expiry thread that handles cleanup of expired sessions */ 125 125 126 126 /* Hierarchy of the locks, to avoid deadlocks:
Note: See TracChangeset
for help on using the changeset viewer.