EHS
Mutex_PT.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
ehs/EHS.h
"
4
#include "
BaseMutex.h
"
5
6
#include <pthread.h>
7
8
namespace
ehs
9
{
10
class
EHS_LIB_IO
Mutex
:
public
BaseMutex
11
{
12
private
:
13
pthread_mutex_t hdl;
14
15
public
:
16
~Mutex
()
override
;
17
18
Mutex
();
19
20
Mutex
(
const
Mutex
& mutex);
21
22
Mutex
& operator=(
const
Mutex
& mutex);
23
24
void
Initialize
()
override
;
25
26
void
UnInitialize()
override
;
27
28
void
Lock()
override
;
29
30
void
Unlock()
override
;
31
};
32
}
BaseMutex.h
EHS.h
ehs::BaseMutex
Definition:
BaseMutex.h:8
ehs::Mutex
Definition:
Mutex_PT.h:11
ehs
Definition:
Anchor.h:6
ehs::Initialize
EHS_LIB_IO void Initialize(Str_8 appName, Str_8 appVerId, const Version &appVer)
Definition:
EHS.cpp:34
include
ehs
system
Mutex_PT.h
Generated by
1.9.4