summaryrefslogtreecommitdiff
path: root/ace/Synch.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Synch.h')
-rw-r--r--ace/Synch.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/ace/Synch.h b/ace/Synch.h
index 9621a3a2e1f..4e274339f1d 100644
--- a/ace/Synch.h
+++ b/ace/Synch.h
@@ -1244,6 +1244,29 @@ private:
// pointer to actual lock
};
+#if defined (ACE_WIN32)
+class ACE_Export ACE_TSS_Cleanup_Lock
+ // = TITLE
+ // Provide an interface to access TSS cleanup lock for
+ // Win32.
+ //
+ // = DESCRIPTION
+ // This class is used to serialize the access
+ // of ACE_TSS_Cleanup object in OS.cpp. ACE_TSS_Cleanup
+ // itself is expected to be managed by ACE_Object_Manager
+ // later, so this class shall be removed/changed in
+ // the near future.
+{
+public:
+ static ACE_Thread_Mutex *instance (void);
+ // static lock access point
+
+private:
+ static ACE_Thread_Mutex *mutex_;
+ // pointer to actual lock
+};
+#endif /* ACE_WIN32 */
+
#endif /* ACE_HAS_THREADS */
#if defined (__ACE_INLINE__)