Changeset 9991 for source/ariba/utility/transport/tcpip/protlib/logfile.h
- Timestamp:
- Jul 28, 2011, 2:03:14 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/utility/transport/tcpip/protlib/logfile.h
r9686 r9991 53 53 namespace log { 54 54 55 static const pthread_mutex_t initlogmutex= 56 #ifdef _DEBUG 57 // PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP; // use this for debugging, it will return errors on potential deadlock situations 58 PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP; 59 #else // should be recursive mutex because sometimes error log output sometimes occurs 60 // while objects contents are logged 61 PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP; // PTHREAD_MUTEX_INITIALIZER; 62 #endif 55 static const pthread_mutex_t initlogmutex= 56 #ifdef PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP 57 PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP; 58 #else 59 PTHREAD_RECURSIVE_MUTEX_INITIALIZER; 60 #endif 63 61 64 62 #undef ERROR_LOG
Note:
See TracChangeset
for help on using the changeset viewer.