Panda3D
conditionVarDirect.cxx
1 // Filename: conditionVarDirect.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 "conditionVarDirect.h"
16 
17 #ifndef DEBUG_THREADS
18 
19 ////////////////////////////////////////////////////////////////////
20 // Function: ConditionVarDirect::output
21 // Access: Public
22 // Description: This method is declared virtual in ConditionVarDebug,
23 // but non-virtual in ConditionVarDirect.
24 ////////////////////////////////////////////////////////////////////
26 output(ostream &out) const {
27  out << "ConditionVar " << (void *)this << " on " << _mutex;
28 }
29 
30 #endif // !DEBUG_THREADS
void output(ostream &out) const
This method is declared virtual in ConditionVarDebug, but non-virtual in ConditionVarDirect.