TAO_RTCORBA  2.1.7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
TAO_Thread_Pool_Threads Class Reference

Class representing a static thread running in a thread lane. More...

#include <Thread_Pool.h>

Inheritance diagram for TAO_Thread_Pool_Threads:
Inheritance graph
Collaboration diagram for TAO_Thread_Pool_Threads:
Collaboration graph

List of all members.

Public Member Functions

 TAO_Thread_Pool_Threads (TAO_Thread_Lane &lane)
 Constructor.
int svc (void)
 Method executed when a thread is spawned.
TAO_Thread_Lanelane (void) const
 Accessor to the lane to which this thread belongs to.
- Public Member Functions inherited from ACE_Task_Base
 ACE_Task_Base (ACE_Thread_Manager *=0)
virtual ~ACE_Task_Base (void)
virtual int open (void *args=0)
virtual int close (u_long flags=0)
virtual int module_closed (void)
virtual int put (ACE_Message_Block *, ACE_Time_Value *=0)
virtual int activate (long flags=THR_NEW_LWP|THR_JOINABLE|THR_INHERIT_SCHED, int n_threads=1, int force_active=0, long priority=ACE_DEFAULT_THREAD_PRIORITY, int grp_id=-1, ACE_Task_Base *task=0, ACE_hthread_t thread_handles[]=0, void *stack[]=0, size_t stack_size[]=0, ACE_thread_t thread_ids[]=0, const char *thr_name[]=0)
virtual int wait (void)
virtual int suspend (void)
virtual int resume (void)
int grp_id (void) const
void grp_id (int)
ACE_Thread_Managerthr_mgr (void) const
void thr_mgr (ACE_Thread_Manager *)
int is_reader (void) const
int is_writer (void) const
size_t thr_count (void) const
ACE_thread_t last_thread (void) const
 ACE_Service_Object (ACE_Reactor *=0)
virtual ~ACE_Service_Object (void)
virtual ~ACE_Event_Handler (void)
virtual ACE_HANDLE get_handle (void) const
virtual void set_handle (ACE_HANDLE)
virtual int priority (void) const
virtual void priority (int priority)
virtual int handle_input (ACE_HANDLE fd=ACE_INVALID_HANDLE)
virtual int handle_output (ACE_HANDLE fd=ACE_INVALID_HANDLE)
virtual int handle_exception (ACE_HANDLE fd=ACE_INVALID_HANDLE)
virtual int handle_timeout (const ACE_Time_Value &current_time, const void *act=0)
virtual int handle_exit (ACE_Process *)
virtual int handle_close (ACE_HANDLE handle, ACE_Reactor_Mask close_mask)
virtual int handle_signal (int signum, siginfo_t *=0, ucontext_t *=0)
virtual int resume_handler (void)
virtual int handle_qos (ACE_HANDLE=ACE_INVALID_HANDLE)
virtual int handle_group_qos (ACE_HANDLE=ACE_INVALID_HANDLE)
virtual void reactor (ACE_Reactor *reactor)
virtual ACE_Reactorreactor (void) const
virtual
ACE_Reactor_Timer_Interface
reactor_timer_interface (void) const
virtual Reference_Count add_reference (void)
virtual Reference_Count remove_reference (void)
Reference_Counting_Policyreference_counting_policy (void)
 ACE_Shared_Object (void)
virtual ~ACE_Shared_Object (void)
virtual int init (int argc, ACE_TCHAR *argv[])
virtual int fini (void)
virtual int info (ACE_TCHAR **info_string, size_t length=0) const

Static Public Member Functions

static void set_tss_resources (TAO_ORB_Core &orb_core, TAO_Thread_Lane &thread_lane)
 Set TSS resources for the current thread.
- Static Public Member Functions inherited from ACE_Task_Base
static ACE_THR_FUNC_RETURN svc_run (void *)
static void cleanup (void *object, void *params)
- Static Public Member Functions inherited from ACE_Service_Object
static ACE_THR_FUNC_RETURN read_adapter (void *event_handler)
static int register_stdin_handler (ACE_Event_Handler *eh, ACE_Reactor *reactor, ACE_Thread_Manager *thr_mgr, int flags=THR_DETACHED)
static int remove_stdin_handler (ACE_Reactor *reactor, ACE_Thread_Manager *thr_mgr)

Protected Member Functions

virtual int run (TAO_ORB_Core &orb_core)
 Do the real work.

Protected Attributes

TAO_Thread_Lanelane_
 Lane to which this thread belongs to.
- Protected Attributes inherited from ACE_Task_Base
size_t thr_count_
ACE_Thread_Managerthr_mgr_
u_long flags_
int grp_id_
ACE_thread_t last_thread_id_
- Protected Attributes inherited from ACE_Service_Object
Atomic_Reference_Count reference_count_
- Protected Attributes inherited from ACE_Event_Handler

Detailed Description

Class representing a static thread running in a thread lane.


Constructor & Destructor Documentation

TAO_Thread_Pool_Threads::TAO_Thread_Pool_Threads ( TAO_Thread_Lane lane)

Constructor.


Member Function Documentation

TAO_Thread_Lane & TAO_Thread_Pool_Threads::lane ( void  ) const
inline

Accessor to the lane to which this thread belongs to.

int TAO_Thread_Pool_Threads::run ( TAO_ORB_Core orb_core)
protectedvirtual

Do the real work.

Reimplemented in TAO_Dynamic_Thread_Pool_Threads.

void TAO_Thread_Pool_Threads::set_tss_resources ( TAO_ORB_Core orb_core,
TAO_Thread_Lane thread_lane 
)
static

Set TSS resources for the current thread.

Get the ORB_Core's TSS resources.

Set the lane attribute in TSS.

int TAO_Thread_Pool_Threads::svc ( void  )
virtual

Method executed when a thread is spawned.

Reimplemented from ACE_Task_Base.


Member Data Documentation

TAO_Thread_Lane& TAO_Thread_Pool_Threads::lane_
protected

Lane to which this thread belongs to.


The documentation for this class was generated from the following files: