Files
mlpack/fastlib/par/thread.cc
T
2007-07-24 04:40:49 +00:00

16 lines
326 B
C++

#include "thread.h"
Mutex Mutex::global;
#ifdef DEBUG
pthread_mutex_t Mutex::fast_mutex_ =
PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP;
#else
pthread_mutex_t Mutex::fast_mutex_ =
PTHREAD_MUTEX_INITIALIZER;
#endif
pthread_mutex_t Mutex::recursive_mutex_ =
PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
// TODO: Blank file