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/Thread_Manager.h | |
parent | 9fac27bdbfb84e64c789854dfc857aa2e3ed821b (diff) | |
download | ATCD-0c2021fd106789c01cd922b7a1e386e0cfdd94af.tar.gz |
Modified double-checking pattern
Diffstat (limited to 'ace/Thread_Manager.h')
-rw-r--r-- | ace/Thread_Manager.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ace/Thread_Manager.h b/ace/Thread_Manager.h index 147d8a9c530..b2e69d999ff 100644 --- a/ace/Thread_Manager.h +++ b/ace/Thread_Manager.h @@ -623,6 +623,9 @@ private: static ACE_Thread_Manager *thr_mgr_; // Pointer to a process-wide <ACE_Thread_Manager>. + static int instantiated_; + // Flag indicating whether the <thr_mgr_> contains a valid ptr or not. + static int delete_thr_mgr_; // Must delete the <thr_mgr_> if non-0. }; |