Changeset 11258 for fact/Evidence/Evidence.cc
- Timestamp:
- 07/06/11 09:53:36 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fact/Evidence/Evidence.cc
r10143 r11258 110 110 pthread_mutexattr_t Attr; 111 111 112 if ((Ret = pthread_mutexattr_init(&Attr)) != 0) { 113 Message(FATAL, "pthread_mutex_init() failed in Evidence constructor (%s)", strerror(Ret)); 114 } 112 115 if ((Ret = pthread_mutexattr_settype(&Attr, PTHREAD_MUTEX_ERRORCHECK)) != 0) { 113 Message(FATAL, "pthread_mutex_settype() failed (%s)", strerror(Ret));116 Message(FATAL, "pthread_mutex_settype() failed in Evidence constructor (%s)", strerror(Ret)); 114 117 } 115 118 if ((Ret = pthread_mutex_init(&Mutex, &Attr)) != 0) { 116 Message(FATAL, "pthread_mutex_init() failed (%s)", strerror(Ret));119 Message(FATAL, "pthread_mutex_init() failed in Evidence constructor (%s)", strerror(Ret)); 117 120 } 118 121
Note:
See TracChangeset
for help on using the changeset viewer.