Panda3D
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
Enumerations
panda
src
pipeline
reMutex.I
1
// Filename: reMutex.I
2
// Created by: drose (15Jan06)
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: ReMutex::Constructor
18
// Access: Public
19
// Description:
20
////////////////////////////////////////////////////////////////////
21
INLINE
ReMutex
::
22
#ifdef DEBUG_THREADS
23
ReMutex
() : MutexDebug(string(), true, false)
24
#else
25
ReMutex
()
26
#endif
// DEBUG_THREADS
27
{
28
}
29
30
////////////////////////////////////////////////////////////////////
31
// Function: ReMutex::Constructor
32
// Access: Public
33
// Description:
34
////////////////////////////////////////////////////////////////////
35
INLINE
ReMutex
::
36
#ifdef DEBUG_THREADS
37
ReMutex
(
const
char
*name) : MutexDebug(string(name), true, false)
38
#else
39
ReMutex
(const char *)
40
#endif
// DEBUG_THREADS
41
{
42
}
43
44
////////////////////////////////////////////////////////////////////
45
// Function: ReMutex::Constructor
46
// Access: Public
47
// Description:
48
////////////////////////////////////////////////////////////////////
49
INLINE
ReMutex
::
50
#ifdef DEBUG_THREADS
51
ReMutex
(
const
string
&name) : MutexDebug(name, true, false)
52
#else
53
ReMutex
(const string &)
54
#endif
// DEBUG_THREADS
55
{
56
}
57
58
////////////////////////////////////////////////////////////////////
59
// Function: ReMutex::Destructor
60
// Access: Public
61
// Description:
62
////////////////////////////////////////////////////////////////////
63
INLINE ReMutex::
64
~ReMutex() {
65
}
66
67
////////////////////////////////////////////////////////////////////
68
// Function: ReMutex::Copy Assignment Operator
69
// Access: Private
70
// Description: Do not attempt to copy mutexes.
71
////////////////////////////////////////////////////////////////////
72
INLINE
void
ReMutex::
73
operator = (
const
ReMutex
©) {
74
nassertv(
false
);
75
}
ReMutex
A reentrant mutex.
Definition:
reMutex.h:36
Generated on Mon Feb 1 2016 13:44:37 for Panda3D by
1.8.5