summaryrefslogtreecommitdiff
path: root/ace/Object_Manager.h
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-10-23 03:56:20 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-10-23 03:56:20 +0000
commitc5f80ef12159e50daa5771756167204e808e41c4 (patch)
tree884373d4482797527ac3e04ced45048cbf972eab /ace/Object_Manager.h
parent02fe1c80ee336cc852fc596bffd43166c8e16790 (diff)
downloadATCD-c5f80ef12159e50daa5771756167204e808e41c4.tar.gz
Added support for ACE_RW_Thread_Mutex ACE_Singleton lock type. Also, removed registration of dynamically allocated ACE_Static_Object_Lock because Object_Manager instance isn't available for registration when it's created.
Diffstat (limited to 'ace/Object_Manager.h')
-rw-r--r--ace/Object_Manager.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ace/Object_Manager.h b/ace/Object_Manager.h
index e43af1123ca..b08f41e73ce 100644
--- a/ace/Object_Manager.h
+++ b/ace/Object_Manager.h
@@ -23,6 +23,7 @@
class ACE_Null_Mutex;
class ACE_Thread_Mutex;
class ACE_Recursive_Thread_Mutex;
+ class ACE_RW_Thread_Mutex;
#endif /* ACE_MT_SAFE */
// Forward declaration.
@@ -168,6 +169,7 @@ public:
ACE_SIG_HANDLER_LOCK,
ACE_SINGLETON_NULL_LOCK,
ACE_SINGLETON_RECURSIVE_THREAD_LOCK,
+ ACE_SINGLETON_RW_THREAD_LOCK,
ACE_SINGLETON_THREAD_LOCK,
ACE_SVC_HANDLER_LOCK,
ACE_THREAD_EXIT_LOCK,
@@ -237,6 +239,10 @@ public:
(ACE_Recursive_Thread_Mutex *);
// Accesses a recursive lock to be used for construction of ACE_Singletons.
+ static ACE_RW_Thread_Mutex *get_singleton_lock (ACE_RW_Thread_Mutex *);
+ // Accesses a readers/writers lock to be used for construction of
+ // ACE_Singletons.
+
private:
#endif /* ACE_MT_SAFE */