summaryrefslogtreecommitdiff
path: root/mutx.h
blob: 592f35195132fd2b8db1d528a058d4d4a0b897e5 (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 s_mutx_H
#define s_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