15 #ifdef DtUSE_UTILITIES_NAMESPACE
16 namespace DtUSE_UTILITIES_NAMESPACE
42 void execute(
volatile bool* stopFlag);
81 void stop(
bool blocking);
86 bool hasStarted()
const;
90 bool isRunning()
const;
128 #ifdef DtUSE_UTILITIES_NAMESPACE
This file contains the declaration of DtMutex.
DtThreadStatus
Definition: vlThreadSysWrapper.h:18
DtRunnableFunction myRunnableFunction
Definition: vlThread.h:49
Includes Boost smart pointers and aliases the Boost namespace.
volatile bool myTimeToStop
Stop Flag.
Definition: vlThread.h:116
DtThreadId DtThreadHandle
Thread Handle is a windows specific device, pthreads uses the threadId for the same purposes...
Definition: vlThreadSysWrapper.h:78
DtThreadStartSP myThreadStart
Definition: vlThread.h:121
pthread_t DtThreadId
Definition: vlThreadSysWrapper.h:75
DtBoost::shared_ptr< DtThreadStart > DtThreadStartSP
Definition: vlThread.h:53
DtThreadHandle myThreadID
System Independent Thread Handle.
Definition: vlThread.h:107
This file contains wrappers for system thread calls.
instances of DtMutex are used to provide a platform independent mutual exclusion mechanism ...
Definition: vlMutex.h:31
DtThreadHandle threadId() const
Get the thread's ID.
Definition: vlThread.h:96
void * myInitializationData
Definition: vlThread.h:50
DtRunnable * myRunnableObject
Definition: vlThread.h:48
Declares the DtRunnable class for defining a object that can be run in a thread.
Definition: vlRunnable.h:28
DtMutex myMutex
Shared lock for protecting critical sections.
Definition: vlThread.h:125
Abstract Threading Class Provides a system independent thread object.
Definition: vlThread.h:58
The thread start object.
Definition: vlThread.h:35
void(* DtRunnableFunction)(void *, volatile bool *)
Define the DtRunnableFunction interface to run a C function in a thread.
Definition: vlThread.h:29
This file contains typedefs for machine dependant types.
#define DT_DLL_VLUTIL
Definition: vlMachineTypes.h:109
bool myRunning
Active status Flag.
Definition: vlThread.h:119