summaryrefslogtreecommitdiff
path: root/ace/Synch_Options.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-03-27 07:45:27 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-03-27 07:45:27 +0000
commit59cd63a2b5227e943f7d910b309fdf1f0f407c63 (patch)
treeeb8f85a6da9422c5b6d30035a2fd11c87efcc22f /ace/Synch_Options.cpp
parentb3719b6b8e9a58936547ae37128265f01ddf0663 (diff)
downloadATCD-59cd63a2b5227e943f7d910b309fdf1f0f407c63.tar.gz
nks,
Diffstat (limited to 'ace/Synch_Options.cpp')
-rw-r--r--ace/Synch_Options.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/ace/Synch_Options.cpp b/ace/Synch_Options.cpp
index 738d02493b1..3c2ea89b627 100644
--- a/ace/Synch_Options.cpp
+++ b/ace/Synch_Options.cpp
@@ -39,6 +39,10 @@ ACE_Synch_Options::set (u_long options,
ACE_TRACE ("ACE_Synch_Options::set");
this->options_ = options;
this->timeout_ = (ACE_Time_Value &) timeout;
+
+ if (this->timeout_ != ACE_Time_Value::zero)
+ ACE_SET_BITS (this->options_, ACE_Synch_Options::USE_TIMEOUT);
+
this->arg_ = arg;
}