Panda3D
mutexDirect.cxx
1 // Filename: mutexDirect.cxx
2 // Created by: drose (13Feb06)
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 #include "mutexDirect.h"
16 
17 #ifndef DEBUG_THREADS
18 
19 ////////////////////////////////////////////////////////////////////
20 // Function: MutexDirect::output
21 // Access: Public
22 // Description: This method is declared virtual in MutexDebug, but
23 // non-virtual in MutexDirect.
24 ////////////////////////////////////////////////////////////////////
25 void MutexDirect::
26 output(ostream &out) const {
27  out << "Mutex " << (void *)this;
28 }
29 
30 #endif // !DEBUG_THREADS
void output(ostream &out) const
This method is declared virtual in MutexDebug, but non-virtual in MutexDirect.
Definition: mutexDirect.cxx:26