summaryrefslogtreecommitdiff
path: root/ace/Singleton.h
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-06-02 06:23:09 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-06-02 06:23:09 +0000
commitbed88a9e9b1637a4fffc4a0ba27a138fdce7f60d (patch)
tree689409ae3a062b8f19f3ba02838278726003559a /ace/Singleton.h
parenta8d245fecc62ee2b62a3faa9538b74a2eaf993cd (diff)
downloadATCD-bed88a9e9b1637a4fffc4a0ba27a138fdce7f60d.tar.gz
Reverted MP safe Double-checking modification. It doesn't solve the real problem here.
Diffstat (limited to 'ace/Singleton.h')
-rw-r--r--ace/Singleton.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/ace/Singleton.h b/ace/Singleton.h
index 0e9b51cec40..f8bfa8ef8de 100644
--- a/ace/Singleton.h
+++ b/ace/Singleton.h
@@ -73,18 +73,10 @@ protected:
#if !defined (ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES)
static ACE_Singleton<TYPE, ACE_LOCK> *singleton_;
// Pointer to the Singleton (ACE_Cleanup) instance.
-
- static int completion_flag_;
- // A flag indicating the complete instantiation (and writing) of
- // <singleton_>. By checking this flag instead of <singleton_>
- // directly, we avoid the problem of Singleton not being MP safe.
#endif /* ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES */
static ACE_Singleton<TYPE, ACE_LOCK> *&instance_i (void);
// Get pointer to the Singleton instance.
-
- static int &completion_flag (void);
- // Access the singleton completion status.
};
template <class TYPE, class ACE_LOCK>
@@ -127,18 +119,10 @@ protected:
#if !defined (ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES)
static ACE_TSS_Singleton<TYPE, ACE_LOCK> *singleton_;
// Pointer to the Singleton (ACE_Cleanup) instance.
-
- static int completion_flag_;
- // A flag indicating the complete instantiation (and writing) of
- // <singleton_>. By checking this flag instead of <singleton_>
- // directly, we avoid the problem of Singleton not being MP safe.
#endif /* ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES */
static ACE_TSS_Singleton<TYPE, ACE_LOCK> *&instance_i (void);
// Get pointer to the TSS Singleton instance.
-
- static int &completion_flag (void);
- // Access the singleton completion status.
};
#if defined (__ACE_INLINE__)