13#ifndef DCM_TREE_THREAD_SUPPORT_H 
   14#define DCM_TREE_THREAD_SUPPORT_H 
   38        #define thread_modifier  __stdcall 
   44        #define thread_modifier 
Class to manage thread specific critical sections.
 
thread_scoped_criticalsection(thread_criticalsection &cs)
 
~thread_scoped_criticalsection()
 
Dictionary class to provide DICOM meta information.
 
void * thread_parameter
System dependent types and definitions.
 
void DCMTREE_EXPORT thread_initcriticalsection(thread_criticalsection &cs)
Prepares a critical section for further usage.
 
thread_id DCMTREE_EXPORT thread_start(thread_function func, thread_parameter param)
Starts func as a new thread with param as parameter (void-pointer :) )
 
void DCMTREE_EXPORT thread_destroycriticalsection(thread_criticalsection &cs)
Destroys a critical section.
 
thread_result(thread_modifier * thread_function)(thread_parameter)
 
unsigned int thread_result
 
void DCMTREE_EXPORT thread_await(thread_id id)
Waits for a thread to complete its work.
 
void DCMTREE_EXPORT thread_entercriticalsection(thread_criticalsection &cs)
Enters a critical section.
 
CRITICAL_SECTION thread_criticalsection
 
void DCMTREE_EXPORT thread_leavecriticalsection(thread_criticalsection &cs)
Leaves a critical section.
 
bool DCMTREE_EXPORT thread_running(thread_id id)
Tests whether a thread is running.