1 #ifndef SimTK_SimTKCOMMON_PARALLEL_WORK_QUEUE_H_     2 #define SimTK_SimTKCOMMON_PARALLEL_WORK_QUEUE_H_    32 class ParallelWorkQueue;
    33 class ParallelWorkQueueImpl;
    37 #ifndef SimTK_SIMTKCOMMON_DEFINING_PARALLEL_WORK_QUEUE    38     extern template class PIMPLHandle<ParallelWorkQueue, ParallelWorkQueueImpl>;
    83     void addTask(
Task* task);
   102     virtual void execute() = 0;
   107 #endif // SimTK_SimTKCOMMON_PARALLEL_WORK_QUEUE_H_ virtual ~Task()
Definition: ParallelWorkQueue.h:96
 
#define SimTK_SimTKCOMMON_EXPORT
Definition: SimTKcommon/include/SimTKcommon/internal/common.h:218
 
This is the top-level SimTK namespace into which all SimTK names are placed to avoid collision with o...
Definition: Assembler.h:37
 
Concrete subclasses of this abstract class represent tasks that can be executed by a ParallelWorkQueu...
Definition: ParallelWorkQueue.h:94
 
This class is used for performing multithreaded computations. It maintains a queue of tasks to be exe...
Definition: ParallelWorkQueue.h:66
 
static int getNumProcessors()
Get the number of available processor cores. 
 
This header provides declarations of the user-visible portion of the PIMPLHandle template classes tha...