7 -const pthread_mutex_t mutex::recmutex = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
8 +const pthread_mutex_t mutex_no_nameclash::recmutex = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
9 const pthread_cond_t condition_var::cond = PTHREAD_COND_INITIALIZER;
12 +mutex_no_nameclash::mutex_no_nameclash( )
14 m_mutex_lock = recmutex;
19 +mutex_no_nameclash::lock( )
21 pthread_mutex_lock( &m_mutex_lock );
27 +mutex_no_nameclash::unlock( )
29 pthread_mutex_unlock( &m_mutex_lock );
38 +class mutex_no_nameclash {
47 + mutex_no_nameclash();
54 -class condition_var : public mutex {
55 +class condition_var : public mutex_no_nameclash {