summaryrefslogtreecommitdiff
path: root/ace/Thread_Exit.cpp
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-09-08 18:58:46 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-09-08 18:58:46 +0000
commit1e776194a015b7910109ff9ccb9d317a5c40f4ea (patch)
tree3b974d547b2260c027d6dfccf82576015fe1f9ee /ace/Thread_Exit.cpp
parentde88797171897970202d65f2894f4e13315f2504 (diff)
downloadATCD-1e776194a015b7910109ff9ccb9d317a5c40f4ea.tar.gz
ChangeLogTag:Fri Sep 8 13:56:50 2000 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'ace/Thread_Exit.cpp')
-rw-r--r--ace/Thread_Exit.cpp14
1 files changed, 4 insertions, 10 deletions
diff --git a/ace/Thread_Exit.cpp b/ace/Thread_Exit.cpp
index 2998f4f9027..bff293d67fa 100644
--- a/ace/Thread_Exit.cpp
+++ b/ace/Thread_Exit.cpp
@@ -11,17 +11,12 @@ u_int ACE_Thread_Exit::is_constructed_ = 0;
#if defined (ACE_HAS_SIG_C_FUNC)
extern "C" void
-ACE_Thread_Exit_cleanup (void *instance, void *)
+ACE_Thread_Exit_cleanup (void *instance, void *arg)
{
- 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.
+ ACE_Thread_Exit::cleanup (instance, arg);
}
-#else
+#endif
+
void
ACE_Thread_Exit::cleanup (void *instance, void *)
{
@@ -33,7 +28,6 @@ ACE_Thread_Exit::cleanup (void *instance, void *)
// All TSS objects have been destroyed. Reset this flag so
// ACE_Thread_Exit singleton can be created again.
}
-#endif /* ACE_HAS_SIG_C_FUNC */
// NOTE: this preprocessor directive should match the one in
// ACE_Task_Base::svc_run () below. This prevents the two statics