#include <Thread_Hook.h>
Public Member Functions | |
virtual | ~ACE_Thread_Hook (void) |
Destructor. | |
virtual ACE_THR_FUNC_RETURN | start (ACE_THR_FUNC func, void *arg) |
Static Public Member Functions | |
ACE_Thread_Hook * | thread_hook (ACE_Thread_Hook *hook) |
ACE_Thread_Hook * | thread_hook (void) |
Returns the current system thread hook. |
Definition at line 35 of file Thread_Hook.h.
|
Destructor.
Definition at line 10 of file Thread_Hook.cpp.
00011 { 00012 } |
|
This method can be overridden in a subclass to customize this pre-function call "hook" invocation that can perform initialization processing before the thread entry point method is called back. The func and arg passed into the start hook are the same as those passed by the application that spawned the thread. Definition at line 15 of file Thread_Hook.cpp. Referenced by ACE_OS_Thread_Adapter::invoke(), and ACE_Thread_Adapter::invoke_i().
00017 {
00018 return (func) (arg);
00019 }
|
|
Returns the current system thread hook.
Definition at line 28 of file Thread_Hook.cpp. References ACE_OS_Object_Manager::thread_hook().
00029 { 00030 return ACE_OS_Object_Manager::thread_hook (); 00031 } |
|
sets the system wide thread hook, returns the previous thread hook or 0 if none is set. Definition at line 22 of file Thread_Hook.cpp. References ACE_OS_Object_Manager::thread_hook().
00023 { 00024 return ACE_OS_Object_Manager::thread_hook (hook); 00025 } |