57 lines
821 B
Text
57 lines
821 B
Text
|
/**
|
||
|
* 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."
|
||
|
*
|
||
|
* @file conditionVarDummyImpl.I
|
||
|
* @author drose
|
||
|
* @date 2002-08-09
|
||
|
*/
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
INLINE ConditionVarDummyImpl::
|
||
|
ConditionVarDummyImpl(MutexDummyImpl &) {
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
INLINE ConditionVarDummyImpl::
|
||
|
~ConditionVarDummyImpl() {
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
INLINE void ConditionVarDummyImpl::
|
||
|
wait() {
|
||
|
Thread::force_yield();
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
INLINE void ConditionVarDummyImpl::
|
||
|
wait(double) {
|
||
|
Thread::force_yield();
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
INLINE void ConditionVarDummyImpl::
|
||
|
notify() {
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
INLINE void ConditionVarDummyImpl::
|
||
|
notify_all() {
|
||
|
}
|