diff options
Diffstat (limited to 'dep/acelite/ace/Service_Config.cpp')
-rw-r--r-- | dep/acelite/ace/Service_Config.cpp | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/dep/acelite/ace/Service_Config.cpp b/dep/acelite/ace/Service_Config.cpp index b1ec0329eb5..d63f46c1b86 100644 --- a/dep/acelite/ace/Service_Config.cpp +++ b/dep/acelite/ace/Service_Config.cpp @@ -1,4 +1,4 @@ -// $Id: Service_Config.cpp 84619 2009-02-26 12:26:16Z johnnyw $ +// $Id: Service_Config.cpp 91693 2010-09-09 12:57:54Z johnnyw $ #include "ace/Service_Config.h" @@ -24,26 +24,23 @@ #include "ace/Log_Msg.h" #include "ace/ACE.h" -ACE_RCSID (ace, - Service_Config, - "$Id: Service_Config.cpp 84619 2009-02-26 12:26:16Z johnnyw $") ACE_BEGIN_VERSIONED_NAMESPACE_DECL -ACE_Threading_Helper<ACE_Thread_Mutex>::~ACE_Threading_Helper () +ACE_Threading_Helper<ACE_Thread_Mutex>::~ACE_Threading_Helper (void) { - ACE_OS::thr_key_detach (this->key_, 0); + ACE_OS::thr_key_detach (this->key_); ACE_OS::thr_keyfree (this->key_); } -ACE_Threading_Helper<ACE_Thread_Mutex>::ACE_Threading_Helper () +ACE_Threading_Helper<ACE_Thread_Mutex>::ACE_Threading_Helper (void) : key_ (ACE_OS::NULL_key) { # if defined (ACE_HAS_TSS_EMULATION) ACE_Object_Manager::init_tss (); # endif - if (ACE_Thread::keycreate (&key_, 0, 0) == -1) + if (ACE_Thread::keycreate (&key_, 0) == -1) { ACE_ERROR ((LM_ERROR, ACE_TEXT ("(%P|%t) Failed to create thread key: %p\n"), |