Panda3D
panda
src
pipeline
lightReMutex.I
1
// Filename: lightReMutex.I
2
// Created by: drose (08Oct08)
3
//
4
////////////////////////////////////////////////////////////////////
5
//
6
// PANDA 3D SOFTWARE
7
// Copyright (c) Carnegie Mellon University. All rights reserved.
8
//
9
// All use of this software is subject to the terms of the revised BSD
10
// license. You should have received a copy of this license along
11
// with this source code in a file named "LICENSE."
12
//
13
////////////////////////////////////////////////////////////////////
14
15
16
////////////////////////////////////////////////////////////////////
17
// Function: LightReMutex::Constructor
18
// Access: Public
19
// Description:
20
////////////////////////////////////////////////////////////////////
21
INLINE
LightReMutex
::
22
#ifdef DEBUG_THREADS
23
LightReMutex
() : MutexDebug(string(), true, true)
24
#else
25
LightReMutex
()
26
#endif
// DEBUG_THREADS
27
{
28
}
29
30
////////////////////////////////////////////////////////////////////
31
// Function: LightReMutex::Constructor
32
// Access: Public
33
// Description:
34
////////////////////////////////////////////////////////////////////
35
INLINE
LightReMutex
::
36
#ifdef DEBUG_THREADS
37
LightReMutex
(
const
char
*name) : MutexDebug(string(name), true, true)
38
#else
39
LightReMutex
(const char *)
40
#endif
// DEBUG_THREADS
41
{
42
}
43
44
////////////////////////////////////////////////////////////////////
45
// Function: LightReMutex::Constructor
46
// Access: Public
47
// Description:
48
////////////////////////////////////////////////////////////////////
49
INLINE
LightReMutex
::
50
#ifdef DEBUG_THREADS
51
LightReMutex
(
const
string
&name) : MutexDebug(name, true, true)
52
#else
53
LightReMutex
(const string &)
54
#endif
// DEBUG_THREADS
55
{
56
}
57
58
////////////////////////////////////////////////////////////////////
59
// Function: LightReMutex::Destructor
60
// Access: Public
61
// Description:
62
////////////////////////////////////////////////////////////////////
63
INLINE LightReMutex::
64
~LightReMutex() {
65
}
66
67
////////////////////////////////////////////////////////////////////
68
// Function: LightReMutex::Copy Assignment Operator
69
// Access: Private
70
// Description: Do not attempt to copy mutexes.
71
////////////////////////////////////////////////////////////////////
72
INLINE
void
LightReMutex::
73
operator = (
const
LightReMutex
©) {
74
nassertv(
false
);
75
}
LightReMutex
A lightweight reentrant mutex.
Definition:
lightReMutex.h:34
Generated on Wed May 17 2017 23:46:20 for Panda3D by
1.8.13