diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-05-29 22:50:05 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-05-29 22:50:05 +0000 |
commit | f7b87eb6c7a17d0db315977a83fde6e11881c5cd (patch) | |
tree | 1a258c8985fb0de25a0e30d1635eafe738db6aa6 /ace/Synch_T.h | |
parent | 2594d118d56ad13b73f4a6c0d6366da501f4b9d8 (diff) | |
download | ATCD-f7b87eb6c7a17d0db315977a83fde6e11881c5cd.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/Synch_T.h')
-rw-r--r-- | ace/Synch_T.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ace/Synch_T.h b/ace/Synch_T.h index 3ae81c6a6f1..7272a1c2431 100644 --- a/ace/Synch_T.h +++ b/ace/Synch_T.h @@ -337,7 +337,12 @@ public: // Implicitly and automatically acquire (or try to acquire) the // lock. - ~ACE_Guard (void) { this->release (); } + ~ACE_Guard (void) + { + int error = errno; + this->release (); + errno = error; + } // Implicitly release the lock. // = Lock accessors. |