summaryrefslogtreecommitdiff
path: root/ace/OS.cpp
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-03-11 22:28:15 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-03-11 22:28:15 +0000
commit2c01da314de26b0ec42696dcfb81f52d487c5467 (patch)
tree3d980e6f879da0825b7823cd353230ab2556b00e /ace/OS.cpp
parent4efa54be21f767faf0b717a6187c5aeeb520faf0 (diff)
downloadATCD-2c01da314de26b0ec42696dcfb81f52d487c5467.tar.gz
(ACE_OS::thr_setspecific): on ACE_WIN32 with ACE_HAS_TSS_EMULATION, don't register the one native key with ACE_TSS_Cleanup::instance (). There's no need, because it doesn't have a destructor. And, it prevents startup because the ACE_TSS_Cleanup structures haven't been set up completely when it is called.
Diffstat (limited to 'ace/OS.cpp')
-rw-r--r--ace/OS.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/ace/OS.cpp b/ace/OS.cpp
index 3f72aca68c2..8c34cb1da6b 100644
--- a/ace/OS.cpp
+++ b/ace/OS.cpp
@@ -3404,7 +3404,6 @@ ACE_OS::thr_setspecific (ACE_OS_thread_key_t key, void *data)
ACE_OSCALL_RETURN (ACE_ADAPT_RETVAL (::thr_setspecific (key, data), ace_result_), int, -1);
# elif defined (ACE_HAS_WTHREADS)
::TlsSetValue (key, data);
- ACE_TSS_Cleanup::instance ()->key_used (key);
return 0;
# endif /* ACE_HAS_STHREADS */
# else