Changeset 686:f83d9878bf66 in freeDiameter for libfdproto/sessions.c
- Timestamp:
- Jan 19, 2011, 2:35:14 PM (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.