UNCLASSIFIED
GeographicTranslator
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Friends
Macros
master
geotrans3.7
CCS
src
dtcc
CoordinateSystems
threads
CCSThreadMutex.h
Go to the documentation of this file.
1
// CLASSIFICATION: UNCLASSIFIED
2
3
#ifndef MSP_CCSTHREADMUTEX_H
4
#define MSP_CCSTHREADMUTEX_H
5
6
#ifndef WIN32
7
# include <pthread.h>
8
#endif
9
10
#include "
DtccApi.h
"
11
12
namespace
MSP
13
{
14
class
MSP_DTCC_API
CCSThreadMutex
15
{
16
public
:
18
CCSThreadMutex
();
19
21
~
CCSThreadMutex
();
22
23
void
lock()
const
;
24
25
void
unlock()
const
;
26
27
private
:
28
// no copy operators
29
CCSThreadMutex
(
const
CCSThreadMutex
&);
30
CCSThreadMutex
&operator=(
const
CCSThreadMutex
&);
31
32
#ifdef WIN32
33
void
*mutex;
34
#else
35
mutable
pthread_mutex_t mutex;
36
#endif
37
38
};
39
}
40
#endif
41
42
// CLASSIFICATION: UNCLASSIFIED
Generated on Tue Feb 16 2016 14:54:02 for GeographicTranslator by doxygen 1.8.2