summaryrefslogtreecommitdiff
path: root/ace/Token.cpp
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-07-24 17:36:15 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-07-24 17:36:15 +0000
commite56c3deb3e9cea01b0d98fa84ba7153f4c9b9478 (patch)
tree70c2b13b8dfcff99e6315bd65bae1869aa29dc04 /ace/Token.cpp
parent72536cb6cf4752bb25f4ecb6e5e97481282b4627 (diff)
downloadATCD-e56c3deb3e9cea01b0d98fa84ba7153f4c9b9478.tar.gz
Fixed warnings from gcc and SunCC.
Diffstat (limited to 'ace/Token.cpp')
-rw-r--r--ace/Token.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/Token.cpp b/ace/Token.cpp
index 9ccbbb06135..b855e103497 100644
--- a/ace/Token.cpp
+++ b/ace/Token.cpp
@@ -322,7 +322,7 @@ ACE_Token::renew (int requeue_position, ACE_Time_Value *timeout)
}
// Sleep until we've got the token (ignore signals).
- while (my_entry.wait (0, this->lock_) == -1)
+ while (my_entry.wait (timeout, this->lock_) == -1)
{
// Note, this should obey whatever thread-specific
// interrupt policy is currently in place...