- Timestamp:
- 07/06/11 09:53:36 (13 years ago)
- Location:
- fact/Evidence
- Files:
-
- 2 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 -
fact/Evidence/readme.txt
r11088 r11258 52 52 10/6/2011 Services can be excluded from History buffer (mainly for large event data services) 53 53 20/6/2011 History buffers periodically saved to file (in case program crash or computer reboot) 54 6/7/2011 Missing pthread_mutexattr_init() in Evidence constructor caused spurious errors when 55 locking mutex
Note:
See TracChangeset
for help on using the changeset viewer.