diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-06-12 20:04:04 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-06-12 20:04:04 +0000 |
commit | ead1627904300253daef9408bd2f838bced89c59 (patch) | |
tree | c15f9d137d21019a5610feff0d8f9fbc06f50331 /ace/Message_Queue.cpp | |
parent | 73a795d587c9d573d2bd84932312f78583faba28 (diff) | |
download | ATCD-ead1627904300253daef9408bd2f838bced89c59.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/Message_Queue.cpp')
-rw-r--r-- | ace/Message_Queue.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ace/Message_Queue.cpp b/ace/Message_Queue.cpp index 120676ceca8..0f88914a3ed 100644 --- a/ace/Message_Queue.cpp +++ b/ace/Message_Queue.cpp @@ -496,7 +496,9 @@ ACE_Message_Queue<ACE_SYNCH_USE>::wait_not_full_cond (ACE_Guard<ACE_SYNCH_MUTEX_ result = this->not_full_cond_.acquire (); else result = this->not_full_cond_.acquire (*tv); + int error = errno; mon.acquire (); + errno = error; } #else ACE_UNUSED_ARG (mon); @@ -542,7 +544,9 @@ ACE_Message_Queue<ACE_SYNCH_USE>::wait_not_empty_cond (ACE_Guard<ACE_SYNCH_MUTEX if (result == -1 && errno == ETIME) errno = EWOULDBLOCK; } + int error = errno; mon.acquire (); + errno = error; } #else ACE_UNUSED_ARG (mon); |