Ignore:
Timestamp:
Jul 22, 2009 11:12:35 AM (15 years ago)
Author:
bennylp
Message:

Ticket #922: Option to enable mutex related logging to assist troubleshooting concurrency problems

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/include/pj/config.h

    r2427 r2843  
    327327#    define PJ_DEBUG                0 
    328328#  endif 
     329#endif 
     330 
     331/** 
     332 * Enable this macro to activate logging to mutex/semaphore related events. 
     333 * This is useful to troubleshoot concurrency problems such as deadlocks. 
     334 * In addition, you should also add PJ_LOG_HAS_THREAD_ID flag to the 
     335 * log decoration to assist the troubleshooting. 
     336 * 
     337 * Default: 0 
     338 */ 
     339#ifndef PJ_DEBUG_MUTEX 
     340#   define PJ_DEBUG_MUTEX           0 
    329341#endif 
    330342 
Note: See TracChangeset for help on using the changeset viewer.