VR-Vantage 2.7 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TracyMutex.hpp
Go to the documentation of this file.
1 #ifndef __TRACYMUTEX_HPP__
2 #define __TRACYMUTEX_HPP__
3 
4 #if defined _MSC_VER
5 
6 # include <shared_mutex>
7 
8 namespace tracy
9 {
10 using TracyMutex = std::shared_mutex;
11 }
12 
13 #else
14 
15 #include <mutex>
16 
17 namespace tracy
18 {
19 using TracyMutex = std::mutex;
20 }
21 
22 #endif
23 
24 #endif


Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)