namespace cds { namespace OS {
/// Windows-specific functions
- namespace Win32 {
+ CDS_CXX11_INLINE_NAMESPACE namespace Win32 {
/// OS-specific type of thread identifier
typedef DWORD ThreadId;
} // namespace Win32
//@cond
- using Win32::ThreadId;
- CDS_CONSTEXPR const ThreadId c_NullThreadId = 0;
+ CDS_CONSTEXPR const Win32::ThreadId c_NullThreadId = 0;
+#ifndef CDS_CXX11_INLINE_NAMESPACE_SUPPORT
+ using Win32::ThreadId;
using Win32::getCurrentThreadId;
using Win32::isThreadAlive;
+#endif
//@endcond
}} // namespace cds::OS