summaryrefslogtreecommitdiff
path: root/ace/Task.h
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-07-26 18:54:39 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-07-26 18:54:39 +0000
commit15bc210e1a411ac93b0d2a41e0b898ba16583e05 (patch)
treee08bf39d3f5e4db1b282454d79a053355330fa0d /ace/Task.h
parentb5adfd4ffd24551632be96077fe9f519e10bfff7 (diff)
downloadATCD-15bc210e1a411ac93b0d2a41e0b898ba16583e05.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/Task.h')
-rw-r--r--ace/Task.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/Task.h b/ace/Task.h
index b5ee372277b..2b800aa934f 100644
--- a/ace/Task.h
+++ b/ace/Task.h
@@ -176,7 +176,7 @@ public:
int grp_id_;
// This maintains the group id of the Task.
-#if defined (ACE_MT_SAFE)
+#if defined (ACE_MT_SAFE) && (ACE_MT_SAFE != 0)
ACE_Thread_Mutex lock_;
// Protect the state of a Task during concurrent operations, but
// only if we're configured as MT safe...
@@ -229,7 +229,7 @@ private:
// This is used to make sure that an ACE_Task registers and
// deregisters with the ACE_Thread_Manager correctly.
-#if defined (ACE_MT_SAFE)
+#if defined (ACE_MT_SAFE) && (ACE_MT_SAFE != 0)
static ACE_Thread_Mutex ace_task_lock_;
// Lock the creation of the Singleton.
#endif /* defined (ACE_MT_SAFE) */