Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

at::TaskContext Struct Reference

Collaboration diagram for at::TaskContext:

Collaboration graph
[legend]
List of all members.

Public Methods

 TaskContext ()

Static Public Methods

unsigned __stdcall win32_start_routine (void *i_task_v)

Public Attributes

Task::TaskID m_thread_id
HANDLE m_thread_handle
volatile bool m_started
volatile bool m_completed
volatile bool m_is_joined
volatile bool m_is_deleting
ConditionalMutex m_wait_cond_mutex

Detailed Description

TaskContext is the data contained within this context.


Constructor & Destructor Documentation

at::TaskContext::TaskContext   [inline]
 


Member Function Documentation

unsigned __stdcall at::TaskContext::win32_start_routine void *    i_task_v [static]
 

start_routine is a static method used to hook back from the implementation dependant thread start-up routine to the Work method.


Member Data Documentation

volatile bool at::TaskContext::m_completed
 

m_completed indicates wether the thread has finished.

volatile bool at::TaskContext::m_is_deleting
 

m_is_deleting indicates that thethread is being deleted prematurely.

volatile bool at::TaskContext::m_is_joined
 

m_is_joined indicates wether the thread is joined

volatile bool at::TaskContext::m_started
 

m_started indicates wether the thread has been "started"

HANDLE at::TaskContext::m_thread_handle
 

m_thread_handle contains the os handle for managing the thread.

Task::TaskID at::TaskContext::m_thread_id
 

m_thread_id contains the ID of this thread

ConditionalMutex at::TaskContext::m_wait_cond_mutex
 

This is to manage this thread.


The documentation for this struct was generated from the following file:

Generated for Austria by doxygen and MakeXS at Sun Oct 24 17:35:34 PDT 2004