Panda3D
Loading...
Searching...
No Matches
panda
src
pipeline
pmutex.I
Go to the documentation of this file.
1
/**
2
* PANDA 3D SOFTWARE
3
* Copyright (c) Carnegie Mellon University. All rights reserved.
4
*
5
* All use of this software is subject to the terms of the revised BSD
6
* license. You should have received a copy of this license along
7
* with this source code in a file named "LICENSE."
8
*
9
* @file pmutex.I
10
* @author drose
11
* @date 2002-08-08
12
*/
13
14
/**
15
*
16
*/
17
INLINE
Mutex
::
18
#ifdef DEBUG_THREADS
19
Mutex
() : MutexDebug(
std
::string(), false, false)
20
#else
21
Mutex
()
22
#endif
// DEBUG_THREADS
23
{
24
}
25
26
/**
27
*
28
*/
29
INLINE
Mutex
::
30
#ifdef DEBUG_THREADS
31
Mutex
(
const
char
*name) : MutexDebug(
std
::string(name), false, false)
32
#else
33
Mutex
(const char *)
34
#endif
// DEBUG_THREADS
35
{
36
}
37
38
/**
39
*
40
*/
41
INLINE
Mutex
::
42
#ifdef DEBUG_THREADS
43
Mutex
(
const
std::string &name) : MutexDebug(name, false, false)
44
#else
45
Mutex
(const
std
::string &)
46
#endif
// DEBUG_THREADS
47
{
48
}
Mutex
A standard mutex, or mutual exclusion lock.
Definition
pmutex.h:40
std
STL namespace.
Generated on Mon Jan 8 2024 17:18:44 for Panda3D by
1.10.0