diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-03-27 07:45:27 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-03-27 07:45:27 +0000 |
commit | 59cd63a2b5227e943f7d910b309fdf1f0f407c63 (patch) | |
tree | eb8f85a6da9422c5b6d30035a2fd11c87efcc22f /ace/Synch_Options.cpp | |
parent | b3719b6b8e9a58936547ae37128265f01ddf0663 (diff) | |
download | ATCD-59cd63a2b5227e943f7d910b309fdf1f0f407c63.tar.gz |
nks,
Diffstat (limited to 'ace/Synch_Options.cpp')
-rw-r--r-- | ace/Synch_Options.cpp | 4 |
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; } |