|
Bullet Collision Detection & Physics Library
|
Go to the documentation of this file.
22 #if defined (_MSC_VER) && _MSC_VER >= 1600
24 #define BT_OVERRIDE override
75 #endif // #if BT_THREADSAFE
82 #endif // #if BT_THREADSAFE
91 #endif // #if BT_THREADSAFE
102 virtual void forLoop(
int iBegin,
int iEnd )
const = 0;
void btMutexLock(btSpinMutex *mutex)
virtual ~btIParallelForBody()
void btSetTaskScheduler(btITaskScheduler *ts)
bool btMutexTryLock(btSpinMutex *mutex)
virtual void forLoop(int iBegin, int iEnd) const =0
const char * getName() const
virtual void setNumThreads(int numThreads)=0
btITaskScheduler * btGetTaskScheduler()
btITaskScheduler * btGetTBBTaskScheduler()
btITaskScheduler * btGetSequentialTaskScheduler()
unsigned int btGetCurrentThreadIndex()
void btResetThreadIndexCounter()
const unsigned int BT_MAX_THREAD_COUNT
virtual int getNumThreads() const =0
virtual void deactivate()
#define SIMD_FORCE_INLINE
btSpinMutex – lightweight spin-mutex implemented with atomic ops, never puts a thread to sleep beca...
unsigned int m_savedThreadCounter
btITaskScheduler * btGetOpenMPTaskScheduler()
virtual void parallelFor(int iBegin, int iEnd, int grainSize, const btIParallelForBody &body)=0
void btMutexUnlock(btSpinMutex *mutex)
void btParallelFor(int iBegin, int iEnd, int grainSize, const btIParallelForBody &body)
btITaskScheduler(const char *name)
virtual ~btITaskScheduler()
btITaskScheduler * btGetPPLTaskScheduler()
virtual int getMaxNumThreads() const =0
bool btThreadsAreRunning()