Navigation


Changeset 686:f83d9878bf66 in freeDiameter for libfdproto/sessions.c


Ignore:
Timestamp:
Jan 19, 2011, 2:35:14 PM (13 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Fixed in case of termination of several modules (before initialization completed)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfdproto/sessions.c

    r662 r686  
    122122static pthread_mutex_t  exp_lock = PTHREAD_MUTEX_INITIALIZER;   /* lock protecting the list. */
    123123static 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 */
     124static pthread_t        exp_thr = (pthread_t)NULL;      /* The expiry thread that handles cleanup of expired sessions */
    125125
    126126/* Hierarchy of the locks, to avoid deadlocks:
Note: See TracChangeset for help on using the changeset viewer.