diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-09-08 00:23:40 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-09-08 00:23:40 +0000 |
commit | e44f9b2e1bea2e41be4c9b256765db773fe02b41 (patch) | |
tree | fd04ee5b9534fb916b04c113b0a2f01e52e62b2e /ace/Thread_Exit.cpp | |
parent | 2b05f68c8ceef93fea99d6eb440c0635a19605f6 (diff) | |
download | ATCD-e44f9b2e1bea2e41be4c9b256765db773fe02b41.tar.gz |
ChangeLogTag:Thu Sep 7 16:15:24 2000 Carlos O'Ryan <coryan@uci.edu>
Diffstat (limited to 'ace/Thread_Exit.cpp')
-rw-r--r-- | ace/Thread_Exit.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ace/Thread_Exit.cpp b/ace/Thread_Exit.cpp index bd6efdd6282..2998f4f9027 100644 --- a/ace/Thread_Exit.cpp +++ b/ace/Thread_Exit.cpp @@ -16,6 +16,10 @@ ACE_Thread_Exit_cleanup (void *instance, void *) ACE_OS_TRACE ("ACE_Thread_Exit_cleanup"); delete (ACE_TSS_TYPE (ACE_Thread_Exit) *) instance; + + ACE_Thread_Exit::is_constructed_ = 0; + // All TSS objects have been destroyed. Reset this flag so + // ACE_Thread_Exit singleton can be created again. } #else void @@ -24,6 +28,10 @@ ACE_Thread_Exit::cleanup (void *instance, void *) ACE_OS_TRACE ("ACE_Thread_Exit::cleanup"); delete (ACE_TSS_TYPE (ACE_Thread_Exit) *) instance; + + ACE_Thread_Exit::is_constructed_ = 0; + // All TSS objects have been destroyed. Reset this flag so + // ACE_Thread_Exit singleton can be created again. } #endif /* ACE_HAS_SIG_C_FUNC */ |