Ignore:
Timestamp:
07/06/11 09:53:36 (13 years ago)
Author:
ogrimm
Message:
pthread_attr_init() was missing in Evidence class constructor
File:
1 edited

Legend:

Unmodified
Added
Removed
  • fact/Evidence/Evidence.cc

    r10143 r11258  
    110110  pthread_mutexattr_t Attr;
    111111
     112  if ((Ret = pthread_mutexattr_init(&Attr)) != 0) {
     113    Message(FATAL, "pthread_mutex_init() failed in Evidence constructor (%s)", strerror(Ret));
     114  }
    112115  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));
    114117  }
    115118  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));
    117120  }
    118121
Note: See TracChangeset for help on using the changeset viewer.