Navigation


Changeset 181:1f39f0c51094 in freeDiameter for include


Ignore:
Timestamp:
Feb 3, 2010, 6:41:39 PM (14 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Add a trace to help finding the bug...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/freeDiameter/libfreeDiameter.h

    r179 r181  
    493493        CHECK_POSIX_DO( ret = pthread_join(*th, &th_ret), /* continue */ );
    494494       
    495         if (th_ret != NULL) {
    496                 TRACE_DEBUG(ANNOYING, "The thread returned the following value: %p (ignored)", th_ret);
     495        if (th_ret == PTHREAD_CANCELED) {
     496                TRACE_DEBUG(ANNOYING, "The thread %p was canceled", *th);
     497        } else {
     498                TRACE_DEBUG(CALL, "The thread %p returned %x", *th, th_ret);
    497499        }
    498500       
Note: See TracChangeset for help on using the changeset viewer.