Navigation


Changeset 686:f83d9878bf66 in freeDiameter for libfdcore/p_expiry.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
  • libfdcore/p_expiry.c

    r662 r686  
    3939#define GC_TIME         120
    4040
    41 static pthread_t       exp_thr;
    42 static pthread_t       gc_thr;
     41static pthread_t       exp_thr = (pthread_t)NULL;
     42static pthread_t       gc_thr  = (pthread_t)NULL;
    4343static struct fd_list  exp_list = FD_LIST_INITIALIZER( exp_list );
    4444static pthread_cond_t  exp_cnd  = PTHREAD_COND_INITIALIZER;
Note: See TracChangeset for help on using the changeset viewer.