Bullet Collision Detection & Physics Library
|
#include "btScalar.h"
Go to the source code of this file.
Classes | |
class | btSpinMutex |
btSpinMutex – lightweight spin-mutex implemented with atomic ops, never puts a thread to sleep because it is designed to be used with a task scheduler which has one thread per core and the threads don't sleep until they run out of tasks. More... | |
class | btIParallelForBody |
class | btIParallelSumBody |
class | btITaskScheduler |
Macros | |
#define | BT_OVERRIDE |
Functions | |
bool | btIsMainThread () |
bool | btThreadsAreRunning () |
unsigned int | btGetCurrentThreadIndex () |
void | btResetThreadIndexCounter () |
void | btMutexLock (btSpinMutex *mutex) |
void | btMutexUnlock (btSpinMutex *mutex) |
bool | btMutexTryLock (btSpinMutex *mutex) |
void | btSetTaskScheduler (btITaskScheduler *ts) |
btITaskScheduler * | btGetTaskScheduler () |
btITaskScheduler * | btGetSequentialTaskScheduler () |
btITaskScheduler * | btCreateDefaultTaskScheduler () |
btITaskScheduler * | btGetOpenMPTaskScheduler () |
btITaskScheduler * | btGetTBBTaskScheduler () |
btITaskScheduler * | btGetPPLTaskScheduler () |
void | btParallelFor (int iBegin, int iEnd, int grainSize, const btIParallelForBody &body) |
btScalar | btParallelSum (int iBegin, int iEnd, int grainSize, const btIParallelSumBody &body) |
Variables | |
const unsigned int | BT_MAX_THREAD_COUNT = 64 |
#define BT_OVERRIDE |
Definition at line 28 of file btThreads.h.
btITaskScheduler* btCreateDefaultTaskScheduler | ( | ) |
Definition at line 797 of file btTaskScheduler.cpp.
unsigned int btGetCurrentThreadIndex | ( | ) |
Definition at line 304 of file btThreads.cpp.
btITaskScheduler* btGetOpenMPTaskScheduler | ( | ) |
Definition at line 786 of file btThreads.cpp.
btITaskScheduler* btGetPPLTaskScheduler | ( | ) |
Definition at line 810 of file btThreads.cpp.
btITaskScheduler* btGetSequentialTaskScheduler | ( | ) |
Definition at line 778 of file btThreads.cpp.
btITaskScheduler* btGetTaskScheduler | ( | ) |
Definition at line 423 of file btThreads.cpp.
btITaskScheduler* btGetTBBTaskScheduler | ( | ) |
Definition at line 798 of file btThreads.cpp.
bool btIsMainThread | ( | ) |
Definition at line 338 of file btThreads.cpp.
|
inline |
Definition at line 73 of file btThreads.h.
|
inline |
Definition at line 91 of file btThreads.h.
|
inline |
Definition at line 82 of file btThreads.h.
void btParallelFor | ( | int | iBegin, |
int | iEnd, | ||
int | grainSize, | ||
const btIParallelForBody & | body | ||
) |
Definition at line 429 of file btThreads.cpp.
btScalar btParallelSum | ( | int | iBegin, |
int | iEnd, | ||
int | grainSize, | ||
const btIParallelSumBody & | body | ||
) |
Definition at line 456 of file btThreads.cpp.
void btResetThreadIndexCounter | ( | ) |
Definition at line 343 of file btThreads.cpp.
void btSetTaskScheduler | ( | btITaskScheduler * | ts | ) |
Definition at line 401 of file btThreads.cpp.
bool btThreadsAreRunning | ( | ) |
Definition at line 395 of file btThreads.cpp.
const unsigned int BT_MAX_THREAD_COUNT = 64 |
Definition at line 33 of file btThreads.h.