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
commit2adc51cb25520067a4364eec29972dd0eaa514f5 (patch)
treee08bf39d3f5e4db1b282454d79a053355330fa0d /ace/Task.h
parent5615e0d0275c5997a9bd1d84428c2953d2104f79 (diff)
downloadATCD-2adc51cb25520067a4364eec29972dd0eaa514f5.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) */