diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-07-26 18:54:39 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-07-26 18:54:39 +0000 |
commit | 15bc210e1a411ac93b0d2a41e0b898ba16583e05 (patch) | |
tree | e08bf39d3f5e4db1b282454d79a053355330fa0d /ace/Task.h | |
parent | b5adfd4ffd24551632be96077fe9f519e10bfff7 (diff) | |
download | ATCD-15bc210e1a411ac93b0d2a41e0b898ba16583e05.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/Task.h')
-rw-r--r-- | ace/Task.h | 4 |
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) */ |