*Backed out changeset 3be01fb200a5

--HG--
branch : trunk
This commit is contained in:
maximius
2009-10-17 15:51:44 -07:00
parent 26b5e033ff
commit e585187b24
2257 changed files with 103863 additions and 761 deletions
+11
View File
@@ -1,7 +1,10 @@
// -*- C++ -*-
// $Id: OS_Errno.cpp 80826 2008-03-04 14:51:23Z wotte $
#include "ace/OS_Errno.h"
ACE_RCSID(ace, OS_Errno, "$Id: OS_Errno.cpp 80826 2008-03-04 14:51:23Z wotte $")
// Inlining this class on debug builds with gcc on Solaris can cause
// deadlocks during static initialization. On non debug builds it
// causes compilation errors.
@@ -13,11 +16,16 @@ ACE_RCSID(ace, OS_Errno, "$Id: OS_Errno.cpp 80826 2008-03-04 14:51:23Z wotte $")
# define ACE_INLINE
# include "ace/OS_Errno.inl"
#endif /* ACE_HAS_INLINED_OSCALLS */
#if defined (ACE_HAS_WINCE_BROKEN_ERRNO)
#include "ace/OS_Memory.h"
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
ACE_CE_Errno *ACE_CE_Errno::instance_ = 0;
DWORD ACE_CE_Errno::errno_key_ = 0xffffffff;
void
ACE_CE_Errno::init ()
{
@@ -25,6 +33,7 @@ ACE_CE_Errno::init ()
ACE_CE_Errno ());
ACE_CE_Errno::errno_key_ = TlsAlloc ();
}
void
ACE_CE_Errno::fini ()
{
@@ -32,6 +41,8 @@ ACE_CE_Errno::fini ()
delete ACE_CE_Errno::instance_;
ACE_CE_Errno::instance_ = 0;
}
ACE_END_VERSIONED_NAMESPACE_DECL
#endif /* ACE_HAS_WINCE_BROKEN_ERRNO */