diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2001-01-26 22:33:06 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2001-01-26 22:33:06 +0000 |
commit | f9232701ff492b6d8b5eda8e4bb5c85ea72c5bb0 (patch) | |
tree | eb9ccb6c2eed261b6b2f0ba2e1361fa7f7251c83 /ace/Synch.h | |
parent | a4cb385d45f8adb31d23819c5677851e25ad40a9 (diff) | |
download | ATCD-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.h | 16 |
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>. |