OS_NS_stdio.cpp File Reference

#include "ace/OS_NS_stdio.h"
#include "ace/OS_NS_Thread.h"

Include dependency graph for OS_NS_stdio.cpp:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Functions

ACE_END_VERSIONED_NAMESPACE_DECL
BOOL WINAPI 
DllMain (HINSTANCE instance, DWORD reason, LPVOID)


Function Documentation

ACE_END_VERSIONED_NAMESPACE_DECL BOOL WINAPI DllMain HINSTANCE  instance,
DWORD  reason,
LPVOID 
 

Definition at line 25 of file OS_NS_stdio.cpp.

References ACE_OS::cleanup_tss(), and ACE_OS::set_win32_resource_module().

00026 {
00027   if (reason == DLL_PROCESS_ATTACH)
00028     {
00029 #     if defined (ACE_DISABLES_THREAD_LIBRARY_CALLS) && (ACE_DISABLES_THREAD_LIBRARY_CALLS == 1)
00030       ::DisableThreadLibraryCalls (instance);
00031 #     endif /* ACE_DISABLES_THREAD_LIBRARY_CALLS */
00032       ACE_OS::set_win32_resource_module(instance);
00033     }
00034   else if (reason == DLL_THREAD_DETACH)
00035     {
00036       ACE_OS::cleanup_tss (0);
00037     }
00038   return TRUE;
00039 }


Generated on Thu Nov 9 10:42:14 2006 for ACE by doxygen 1.3.6