#include <Thread_Hook.h>
Public Methods | |
| virtual ACE_THR_FUNC_RETURN | start (ACE_THR_FUNC func, void *arg) |
Static Public Methods | |
| ACE_Thread_Hook * | thread_hook (ACE_Thread_Hook *hook) |
| sets the system wide thread hook, returns the previous thread hook or 0 if none is set. More... | |
| ACE_Thread_Hook * | thread_hook (void) |
| Returns the current system thread hook. More... | |
Definition at line 32 of file Thread_Hook.h.
|
||||||||||||
|
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 <func> 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 10 of file Thread_Hook.cpp. Referenced by ACE_OS_Thread_Adapter::invoke, and ACE_Thread_Adapter::invoke_i.
00012 {
00013 return (func) (arg);
00014 }
|
|
|
Returns the current system thread hook.
Definition at line 23 of file Thread_Hook.cpp. References ACE_OS_Object_Manager::thread_hook.
00024 {
00025 return ACE_OS_Object_Manager::thread_hook ();
00026 }
|
|
|
sets the system wide thread hook, returns the previous thread hook or 0 if none is set.
Definition at line 17 of file Thread_Hook.cpp. References ACE_OS_Object_Manager::thread_hook.
00018 {
00019 return ACE_OS_Object_Manager::thread_hook (hook);
00020 }
|
1.2.14 written by Dimitri van Heesch,
© 1997-2002