blob: ff67ed2db28c71fd86129f78874c85695d5e7107 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
// class mutx implementation.
#ifndef MUTX_CXX
#define MUTX_CXX
#include "mutx.h"
using namespace std;
mutx::mutx()
{
#ifdef VERBOSE
cout << "mutx::mutx()" << endl;
#endif
pthread_mutex_init( &mut_stdout, NULL );
}
mutx::~mutx()
{
#ifdef VERBOSE
cout << "mutx::~mutx()" << endl;
#endif
pthread_mutex_destroy( &mut_stdout );
}
#endif
|