open_toontown_panda3d/panda/src/pipeline/conditionVarDummyImpl.I

71 lines
2.2 KiB
Plaintext

// Filename: conditionVarDummyImpl.I
// Created by: drose (09Aug02)
//
////////////////////////////////////////////////////////////////////
//
// PANDA 3D SOFTWARE
// Copyright (c) Carnegie Mellon University. All rights reserved.
//
// All use of this software is subject to the terms of the revised BSD
// license. You should have received a copy of this license along
// with this source code in a file named "LICENSE."
//
////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Function: ConditionVarDummyImpl::Constructor
// Access: Public
// Description:
////////////////////////////////////////////////////////////////////
INLINE ConditionVarDummyImpl::
ConditionVarDummyImpl(MutexDummyImpl &) {
}
////////////////////////////////////////////////////////////////////
// Function: ConditionVarDummyImpl::Destructor
// Access: Public
// Description:
////////////////////////////////////////////////////////////////////
INLINE ConditionVarDummyImpl::
~ConditionVarDummyImpl() {
}
////////////////////////////////////////////////////////////////////
// Function: ConditionVarDummyImpl::wait
// Access: Public
// Description:
////////////////////////////////////////////////////////////////////
INLINE void ConditionVarDummyImpl::
wait() {
Thread::force_yield();
}
////////////////////////////////////////////////////////////////////
// Function: ConditionVarDummyImpl::wait
// Access: Public
// Description:
////////////////////////////////////////////////////////////////////
INLINE void ConditionVarDummyImpl::
wait(double) {
Thread::force_yield();
}
////////////////////////////////////////////////////////////////////
// Function: ConditionVarDummyImpl::notify
// Access: Public
// Description:
////////////////////////////////////////////////////////////////////
INLINE void ConditionVarDummyImpl::
notify() {
}
////////////////////////////////////////////////////////////////////
// Function: ConditionVarDummyImpl::notify_all
// Access: Public
// Description:
////////////////////////////////////////////////////////////////////
INLINE void ConditionVarDummyImpl::
notify_all() {
}