summaryrefslogtreecommitdiff
path: root/ace/Hash_Map_Manager.h
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1998-10-13 05:21:30 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1998-10-13 05:21:30 +0000
commit74b5ef64958586cc85c689cbe539be34bd96f211 (patch)
tree3d0dfd0809fb34e04114b55785372729c11dbafa /ace/Hash_Map_Manager.h
parent1e3fb253074ed2ae8f46be5f6e559d2b05a42e5c (diff)
downloadATCD-74b5ef64958586cc85c689cbe539be34bd96f211.tar.gz
.
Diffstat (limited to 'ace/Hash_Map_Manager.h')
-rw-r--r--ace/Hash_Map_Manager.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ace/Hash_Map_Manager.h b/ace/Hash_Map_Manager.h
index b043d2fa9c5..3ee3b36e5f7 100644
--- a/ace/Hash_Map_Manager.h
+++ b/ace/Hash_Map_Manager.h
@@ -211,6 +211,13 @@ public:
size_t total_size (void);
// Return the total size of the map.
+ ACE_LOCK &mutex (void);
+ // Returns a reference to the underlying <ACE_LOCK>. This makes it
+ // possible to acquire the lock explicitly, which can be useful in
+ // some cases if you instantiate the <ACE_Atomic_Op> with an
+ // <ACE_Recursive_Mutex> or <ACE_Process_Mutex>. NOTE: the right
+ // name would be lock_, but HP/C++ will choke on that!
+
void dump (void) const;
// Dump the state of an object.