diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-06-16 18:17:52 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-06-16 18:17:52 +0000 |
commit | b507b0691a35ea9b7192e65ea0e435847ce4fd1d (patch) | |
tree | 09ed4da2c283288cb50b892d6b428fe74cce5b5f /ace/Token_Collection.cpp | |
parent | b2e62a6ef510b4560a3b9f0d69de1f3df4da4d3e (diff) | |
download | ATCD-ami_phase2_end.tar.gz |
This commit was manufactured by cvs2svn to create tagami_phase2_end
'ami_phase2_end'.
Diffstat (limited to 'ace/Token_Collection.cpp')
-rw-r--r-- | ace/Token_Collection.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/ace/Token_Collection.cpp b/ace/Token_Collection.cpp index e275942ea22..c1d4ab17e15 100644 --- a/ace/Token_Collection.cpp +++ b/ace/Token_Collection.cpp @@ -88,16 +88,13 @@ ACE_Token_Collection::acquire (int notify, iterator.advance ()) { if (debug_) - ACE_DEBUG ((LM_DEBUG, - ASYS_TEXT ("collection acquiring %s\n"), + ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("collection acquiring %s\n"), temp->int_id_->name ())); - if (temp->int_id_->acquire (notify, - sleep_hook, - options) == -1) + if (temp->int_id_->acquire (notify, sleep_hook, options) == -1) { - // Save/restore errno. - ACE_Errno_Guard error (errno); + int error = errno; this->release (); + errno = error; ACE_RETURN (-1); } } |