Panda3D
mutexDummyImpl.I
1 // Filename: mutexDummyImpl.I
2 // Created by: drose (08Aug02)
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: MutexDummyImpl::Constructor
18 // Access: Public
19 // Description:
20 ////////////////////////////////////////////////////////////////////
21 INLINE MutexDummyImpl::
22 MutexDummyImpl() {
23 }
24 
25 ////////////////////////////////////////////////////////////////////
26 // Function: MutexDummyImpl::Destructor
27 // Access: Public
28 // Description:
29 ////////////////////////////////////////////////////////////////////
30 INLINE MutexDummyImpl::
31 ~MutexDummyImpl() {
32 }
33 
34 ////////////////////////////////////////////////////////////////////
35 // Function: MutexDummyImpl::acquire
36 // Access: Public
37 // Description:
38 ////////////////////////////////////////////////////////////////////
39 INLINE void MutexDummyImpl::
40 acquire() {
41 }
42 
43 ////////////////////////////////////////////////////////////////////
44 // Function: MutexDummyImpl::try_acquire
45 // Access: Public
46 // Description:
47 ////////////////////////////////////////////////////////////////////
48 INLINE bool MutexDummyImpl::
49 try_acquire() {
50  return true;
51 }
52 
53 ////////////////////////////////////////////////////////////////////
54 // Function: MutexDummyImpl::release
55 // Access: Public
56 // Description:
57 ////////////////////////////////////////////////////////////////////
58 INLINE void MutexDummyImpl::
59 release() {
60 }