summaryrefslogtreecommitdiff
path: root/ace/Synch.h
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1998-01-02 06:38:41 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1998-01-02 06:38:41 +0000
commitf611d5dca8cc705a728dafc8d0cd80cdfb93182e (patch)
tree056ab9034763cfb3f3ce929ac991503fb3459334 /ace/Synch.h
parent242a9609919b5b0e00731108069b99c4d7b8be8f (diff)
downloadATCD-f611d5dca8cc705a728dafc8d0cd80cdfb93182e.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/Synch.h')
-rw-r--r--ace/Synch.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/ace/Synch.h b/ace/Synch.h
index 4801867327e..92c2642425f 100644
--- a/ace/Synch.h
+++ b/ace/Synch.h
@@ -1191,6 +1191,14 @@ public:
ACE_RW_Thread_Mutex (LPCTSTR name = 0,
void *arg = 0);
+ int tryacquire_write_upgrade (void);
+ // Conditionally upgrade a read lock to a write lock. This only
+ // works if there are no other readers present, in which case the
+ // method returns 0. Otherwise, the method returns -1 and sets
+ // <errno> to <EBUSY>. Note that the caller of this method *must*
+ // already possess this lock as a read lock (but this condition is
+ // not checked by the current implementation).
+
void dump (void) const;
// Dump the state of an object.