summaryrefslogtreecommitdiff
path: root/ace/Object_Manager.h
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-10-11 01:04:04 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-10-11 01:04:04 +0000
commitf1ca33521098d86b82f089ef2bc9e109645de1e0 (patch)
tree60da7562b6672a9f3c65bc5996041350d6a9a5bb /ace/Object_Manager.h
parentb48c129ecdd412467b481397dc610167f9b94625 (diff)
downloadATCD-f1ca33521098d86b82f089ef2bc9e109645de1e0.tar.gz
rs
Diffstat (limited to 'ace/Object_Manager.h')
-rw-r--r--ace/Object_Manager.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ace/Object_Manager.h b/ace/Object_Manager.h
index 3fc63e46d1d..e7d619693de 100644
--- a/ace/Object_Manager.h
+++ b/ace/Object_Manager.h
@@ -207,10 +207,12 @@ private:
public:
// For internal use only by ACE_Managed_Objects.
- ACE_MT (ACE_Thread_Mutex *lock_);
+# if defined (ACE_MT_SAFE) && (ACE_MT_SAFE != 0)
+ ACE_Thread_Mutex *lock_;
// Lock that is used to guard internal structures. Just a pointer
// is declared here in order to minimize the headers that this one
// includes.
+#endif /* ACE_MT_SAFE */
static ACE_Object_Manager *instance (void);
// Accessor to singleton instance. Because static member functions