summaryrefslogtreecommitdiff
path: root/mutx.h
blob: c9889362de8a1b4385d997c4cd9bb703bade730b (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