diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-06-01 22:07:53 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-06-01 22:07:53 +0000 |
commit | 0c2021fd106789c01cd922b7a1e386e0cfdd94af (patch) | |
tree | 0480fc2a840f47762f1ecff517f99240fbae51e0 /ace/Reactor.h | |
parent | 9fac27bdbfb84e64c789854dfc857aa2e3ed821b (diff) | |
download | ATCD-0c2021fd106789c01cd922b7a1e386e0cfdd94af.tar.gz |
Modified double-checking pattern
Diffstat (limited to 'ace/Reactor.h')
-rw-r--r-- | ace/Reactor.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ace/Reactor.h b/ace/Reactor.h index 6f2aaf982e5..59a52fecfa2 100644 --- a/ace/Reactor.h +++ b/ace/Reactor.h @@ -445,6 +445,9 @@ protected: static ACE_Reactor *reactor_; // Pointer to a process-wide <ACE_Reactor> singleton. + static int instantiated_; + // Flag indicating whether the singleton reactor has been instantiated or not. + static int delete_reactor_; // Must delete the <reactor_> singleton if non-0. |