summaryrefslogtreecommitdiff
path: root/ace/Synch.h
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-07-31 21:43:34 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-07-31 21:43:34 +0000
commit067759cfa82dad47abbed189774df163177044dd (patch)
tree4fb1e4e192938516d59154cd95f85b10805e1c15 /ace/Synch.h
parent3b9db2963b36796cdb81ef938fcb573ad724f763 (diff)
downloadATCD-067759cfa82dad47abbed189774df163177044dd.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/Synch.h')
-rw-r--r--ace/Synch.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ace/Synch.h b/ace/Synch.h
index c8bc1c3931d..0415cce6cd4 100644
--- a/ace/Synch.h
+++ b/ace/Synch.h
@@ -183,6 +183,10 @@ public:
// Block the thread until the semaphore count becomes
// greater than 0, then decrement it.
+ int acquire (ACE_Time_Value &tv);
+ // Block the thread until <tv> times out or until the semaphore
+ // count becomes greater than 0 (at which point it is decremented).
+
int tryacquire (void);
// Conditionally decrement the semaphore if count is greater than 0
// (i.e., won't block).