summaryrefslogtreecommitdiff
path: root/ace/Task.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-04-16 10:02:20 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-04-16 10:02:20 +0000
commit00218192218c00253416e7aa38351a90a6c98d64 (patch)
tree933307298b561d15f4caf710c7c7e853431338a2 /ace/Task.cpp
parent3959e0dd3988c75fd3d5e1594d3372b5c342e440 (diff)
downloadATCD-00218192218c00253416e7aa38351a90a6c98d64.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/Task.cpp')
-rw-r--r--ace/Task.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ace/Task.cpp b/ace/Task.cpp
index 68388a29071..e4402efb841 100644
--- a/ace/Task.cpp
+++ b/ace/Task.cpp
@@ -18,7 +18,7 @@ ACE_Thread_Mutex ACE_Task_Exit::ace_task_lock_;
// NOTE: this preprocessor directive should match the one in
// ACE_Task_Base::svc_run () below. This prevents the two statics
// from being defined.
-#if defined (ACE_HAS_THREAD_SPECIFIC_STORAGE) && ! defined (ACE_HAS_PTHREADS_XAVIER)
+#if defined (ACE_HAS_THREAD_SPECIFIC_STORAGE) && ! defined (ACE_HAS_PTHREAD_SIGMASK)
ACE_Task_Exit *
ACE_Task_Exit::instance (void)
{
@@ -40,7 +40,7 @@ ACE_Task_Exit::instance (void)
return ACE_TSS_GET (instance_, ACE_Task_Exit);
}
-#endif /* ACE_HAS_THREAD_SPECIFIC_STORAGE && ! ACE_HAS_PTHREADS_XAVIER */
+#endif /* ACE_HAS_THREAD_SPECIFIC_STORAGE && ! ACE_HAS_PTHREAD_SIGMASK */
// Grab hold of the Task * so that we can close() it in the
@@ -228,7 +228,7 @@ ACE_Task_Base::svc_run (void *args)
// With the Xavier Pthreads package, the exit_hook in TSS causes
// a seg fault. So, this works around that by creating exit_hook
// on the stack.
-#if defined (ACE_HAS_THREAD_SPECIFIC_STORAGE) && ! defined (ACE_HAS_PTHREADS_XAVIER)
+#if defined (ACE_HAS_THREAD_SPECIFIC_STORAGE) && ! defined (ACE_HAS_PTHREAD_SIGMASK)
// Obtain our thread-specific exit hook and make sure that it knows
// how to clean us up! Note that we never use this pointer directly
// (it's stored in thread-specific storage), so it's ok to
@@ -242,7 +242,7 @@ ACE_Task_Base::svc_run (void *args)
// So, threads shouldn't exit that way. Instead, they should
// return from svc ().
ACE_Task_Exit exit_hook;
-#endif /* ACE_HAS_THREAD_SPECIFIC_STORAGE && ! ACE_HAS_PTHREADS_XAVIER */
+#endif /* ACE_HAS_THREAD_SPECIFIC_STORAGE && ! ACE_HAS_PTHREAD_SIGMASK */
exit_hook.set_task (t);