6 #include <tbb/tbb_thread.h>
7 #include <tbb/concurrent_queue.h>
10 #include <condition_variable>
std::atomic< bool > myShutdownFlag
Set my destructor to true to indicate that the processing thread(s) should stop processing.
Definition: backgroundBvhBuilder.h:27
std::mutex myMutex
Mutex and condition_variable used to wake up worker thread when needed.
Definition: backgroundBvhBuilder.h:31
tbb::concurrent_queue< DtBvhTriangleMeshShape::Ptr > myShapesToProcess
Definition: backgroundBvhBuilder.h:25
std::condition_variable myThreadCV
Definition: backgroundBvhBuilder.h:32
#define DT_DLL_vantageTerrainImplementation
This file is used to determine how to build.
Definition: vantageTerrainImplementationDefines.h:28
This class encapsulates a worker thread which calls buildBvh() on each DtBvhTriangleMeshShape that is...
Definition: backgroundBvhBuilder.h:14
tbb::tbb_thread * myProcessingThread
Definition: backgroundBvhBuilder.h:29
boost::shared_ptr< DtBvhTriangleMeshShape > Ptr
Definition: bvhTriangleMeshShape.h:83