Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

Base_Thread_Adapter.cpp File Reference

#include "ace_pch.h"
#include "ace/Base_Thread_Adapter.h"
#include "ace/OS.h"
#include "ace/Base_Thread_Adapter.inl"

Include dependency graph for Base_Thread_Adapter.cpp:

Include dependency graph

Go to the source code of this file.

Functions

const char * get_rcsid_ace_Base_Thread_Adapter (const char *)
ACE_THR_FUNC_RETURN ace_thread_adapter (void *args)

Variables

const char * rcsid_ace_Base_Thread_Adapter = get_rcsid_ace_Base_Thread_Adapter ( rcsid_ace_Base_Thread_Adapter )


Function Documentation

ACE_THR_FUNC_RETURN ace_thread_adapter void *    args
 

Definition at line 106 of file Base_Thread_Adapter.cpp.

References ACE_OS_TRACE, and ACE_Base_Thread_Adapter::invoke.

00107 {
00108   ACE_OS_TRACE ("ace_thread_adapter");
00109 
00110 #if defined (ACE_HAS_TSS_EMULATION)
00111   // As early as we can in the execution of the new thread, allocate
00112   // its local TS storage.  Allocate it on the stack, to save dynamic
00113   // allocation/dealloction.
00114   void *ts_storage[ACE_TSS_Emulation::ACE_TSS_THREAD_KEYS_MAX];
00115   ACE_TSS_Emulation::tss_open (ts_storage);
00116 #endif /* ACE_HAS_TSS_EMULATION */
00117 
00118   ACE_Base_Thread_Adapter *thread_args =
00119     ACE_static_cast (ACE_Base_Thread_Adapter *, args);
00120 
00121   // Invoke the user-supplied function with the args.
00122   ACE_THR_FUNC_RETURN status = thread_args->invoke ();
00123 
00124   return status;
00125 }

const char* get_rcsid_ace_Base_Thread_Adapter const char *    [inline, static]
 

Definition at line 7 of file Base_Thread_Adapter.cpp.

00007 : Base_Thread_Adapter.cpp,v 1.1.1.2.2.1 2003/03/13 19:44:20 chad Exp $")


Variable Documentation

const char* rcsid_ace_Base_Thread_Adapter = get_rcsid_ace_Base_Thread_Adapter ( rcsid_ace_Base_Thread_Adapter ) [static]
 

Definition at line 7 of file Base_Thread_Adapter.cpp.


Generated on Mon Jun 16 11:27:30 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002