summaryrefslogtreecommitdiff
path: root/ychat-0.1/mutx.h
blob: 4f6c950f25b8814d7363ea0373be6f4a56e2acd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// class mutx declaration.

#ifndef MUTX_H
#define MUTX_H

#include "incl.h"

using namespace std;

class mutx 
{
public:
 // this mutex is needed for sync stdout and sdterr of different threads.
 pthread_mutex_t mut_stdout;

 // public methods.
 explicit mutx( ); // simple constructor.
 ~mutx( ); // simple constructor.
};

#endif