00001 // $Id: Thread_Hook.cpp 69062 2005-10-28 23:55:10Z ossama $ 00002 00003 #include "ace/Thread_Hook.h" 00004 #include "ace/Object_Manager_Base.h" 00005 00006 ACE_RCSID(ace, Thread_Hook, "$Id: Thread_Hook.cpp 69062 2005-10-28 23:55:10Z ossama $") 00007 00008 ACE_BEGIN_VERSIONED_NAMESPACE_DECL 00009 00010 ACE_Thread_Hook::~ACE_Thread_Hook () 00011 { 00012 } 00013 00014 ACE_THR_FUNC_RETURN 00015 ACE_Thread_Hook::start (ACE_THR_FUNC func, 00016 void *arg) 00017 { 00018 return (func) (arg); 00019 } 00020 00021 ACE_Thread_Hook * 00022 ACE_Thread_Hook::thread_hook (ACE_Thread_Hook *hook) 00023 { 00024 return ACE_OS_Object_Manager::thread_hook (hook); 00025 } 00026 00027 ACE_Thread_Hook * 00028 ACE_Thread_Hook::thread_hook (void) 00029 { 00030 return ACE_OS_Object_Manager::thread_hook (); 00031 } 00032 00033 ACE_END_VERSIONED_NAMESPACE_DECL