summaryrefslogtreecommitdiff
path: root/ace/Proactor.h
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-06-01 22:07:53 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-06-01 22:07:53 +0000
commit0c2021fd106789c01cd922b7a1e386e0cfdd94af (patch)
tree0480fc2a840f47762f1ecff517f99240fbae51e0 /ace/Proactor.h
parent9fac27bdbfb84e64c789854dfc857aa2e3ed821b (diff)
downloadATCD-0c2021fd106789c01cd922b7a1e386e0cfdd94af.tar.gz
Modified double-checking pattern
Diffstat (limited to 'ace/Proactor.h')
-rw-r--r--ace/Proactor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ace/Proactor.h b/ace/Proactor.h
index f672335f37f..c4a85dc194a 100644
--- a/ace/Proactor.h
+++ b/ace/Proactor.h
@@ -324,6 +324,9 @@ private:
static ACE_Proactor *proactor_;
// Pointer to a process-wide <ACE_Proactor>.
+ static int instantiated_;
+ // Flags indicating whether <proactor_> has been instantiated or not.
+
static int delete_proactor_;
// Must delete the <proactor_> if non-0.