Panda3D
|
00001 // Filename: conditionVarImpl.h 00002 // Created by: drose (09Aug02) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) Carnegie Mellon University. All rights reserved. 00008 // 00009 // All use of this software is subject to the terms of the revised BSD 00010 // license. You should have received a copy of this license along 00011 // with this source code in a file named "LICENSE." 00012 // 00013 //////////////////////////////////////////////////////////////////// 00014 00015 #ifndef CONDITIONVARIMPL_H 00016 #define CONDITIONVARIMPL_H 00017 00018 #include "pandabase.h" 00019 #include "selectThreadImpl.h" 00020 00021 #if defined(THREAD_DUMMY_IMPL) 00022 00023 #include "conditionVarDummyImpl.h" 00024 typedef ConditionVarDummyImpl ConditionVarImpl; 00025 typedef ConditionVarDummyImpl ConditionVarFullImpl; 00026 00027 #elif defined(THREAD_SIMPLE_IMPL) 00028 00029 #include "conditionVarSimpleImpl.h" 00030 typedef ConditionVarSimpleImpl ConditionVarImpl; 00031 typedef ConditionVarSimpleImpl ConditionVarFullImpl; 00032 00033 #elif defined(MUTEX_SPINLOCK) 00034 00035 #include "conditionVarSpinlockImpl.h" 00036 typedef ConditionVarSpinlockImpl ConditionVarImpl; 00037 typedef ConditionVarSpinlockImpl ConditionVarFullImpl; 00038 00039 #elif defined(THREAD_WIN32_IMPL) 00040 00041 #include "conditionVarWin32Impl.h" 00042 #include "conditionVarFullWin32Impl.h" 00043 typedef ConditionVarWin32Impl ConditionVarImpl; 00044 typedef ConditionVarFullWin32Impl ConditionVarFullImpl; 00045 00046 #elif defined(THREAD_POSIX_IMPL) 00047 00048 #include "conditionVarPosixImpl.h" 00049 typedef ConditionVarPosixImpl ConditionVarImpl; 00050 typedef ConditionVarPosixImpl ConditionVarFullImpl; 00051 00052 #endif 00053 00054 #endif 00055 00056 00057