Navigation


Changeset 706:4ffbc9f1e922 in freeDiameter for libfdcore/core.c


Ignore:
Timestamp:
Feb 9, 2011, 3:26:58 PM (13 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Large UNTESTED commit with the following changes:

  • Improved DiameterIdentity? handling (esp. interationalization issues), and improve efficiency of some string operations in peers, sessions, and dictionary modules (closes #7)
  • Cleanup in the session module to free only unreferenced sessions (#16)
  • Removed fd_cpu_flush_cache(), replaced by more robust alternatives.
  • Improved peer state machine algorithm to counter SCTP multistream race condition.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfdcore/core.c

    r693 r706  
    4545GCRY_THREAD_OPTION_PTHREAD_IMPL;
    4646
    47 /* Signal extensions when the framework is completly initialized */
     47/* Signal extensions when the framework is completly initialized (they are waiting in fd_core_waitstartcomplete()) */
    4848static int             is_ready = 0;
    4949static pthread_mutex_t is_ready_mtx = PTHREAD_MUTEX_INITIALIZER;
     
    6262/* Thread that process incoming events on the main queue -- and terminates the framework when requested */
    6363static pthread_t core_runner = (pthread_t)NULL;
     64
     65/* How the thread is terminated */
    6466enum core_mode {
    6567        CORE_MODE_EVENTS,
Note: See TracChangeset for help on using the changeset viewer.