summaryrefslogtreecommitdiff
path: root/ace/Synch.h
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2001-01-26 22:33:06 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2001-01-26 22:33:06 +0000
commitf9232701ff492b6d8b5eda8e4bb5c85ea72c5bb0 (patch)
treeeb9ccb6c2eed261b6b2f0ba2e1361fa7f7251c83 /ace/Synch.h
parenta4cb385d45f8adb31d23819c5677851e25ad40a9 (diff)
downloadATCD-f9232701ff492b6d8b5eda8e4bb5c85ea72c5bb0.tar.gz
ChangeLogTag:Fri Jan 26 14:13:32 2001 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'ace/Synch.h')
-rw-r--r--ace/Synch.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/ace/Synch.h b/ace/Synch.h
index 481d6d398a9..4dcc537b2cd 100644
--- a/ace/Synch.h
+++ b/ace/Synch.h
@@ -444,6 +444,14 @@ public:
int acquire (void);
/**
+ * Block the thread until <tv> times out. Note that <tv> is assumed
+ * to be in "absolute" rather than "relative" time. The value of
+ * <tv> is updated upon return to show the actual (absolute)
+ * acquisition time.
+ */
+ int acquire (ACE_Time_Value &tv);
+
+ /**
* Conditionally acquire lock (i.e., don't wait on queue). Returns
* -1 on failure. If we "failed" because someone else already had
* the lock, <errno> is set to <EBUSY>.
@@ -932,6 +940,14 @@ public:
int acquire (void);
/**
+ * Block the thread until <tv> times out. Note that <tv> is assumed
+ * to be in "absolute" rather than "relative" time. The value of
+ * <tv> is updated upon return to show the actual (absolute)
+ * acquisition time.
+ */
+ int acquire (ACE_Time_Value &tv);
+
+ /**
* Conditionally acquire lock (i.e., don't wait on queue). Returns
* -1 on failure. If we "failed" because someone else already had
* the lock, <errno> is set to <EBUSY>.