#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 | |
static ACE_Thread_Hook * | thread_hook (ACE_Thread_Hook *hook) |
static ACE_Thread_Hook * | thread_hook (void) |
Returns the current system thread hook. |
ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_Thread_Hook::~ACE_Thread_Hook | ( | void | ) | [virtual] |
Destructor.
ACE_THR_FUNC_RETURN ACE_Thread_Hook::start | ( | ACE_THR_FUNC | func, | |
void * | arg | |||
) | [virtual] |
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.
ACE_Thread_Hook * ACE_Thread_Hook::thread_hook | ( | ACE_Thread_Hook * | hook | ) | [static] |
sets the system wide thread hook, returns the previous thread hook or 0 if none is set.
ACE_Thread_Hook * ACE_Thread_Hook::thread_hook | ( | void | ) | [static] |
Returns the current system thread hook.