diff options
Diffstat (limited to 'thirdparty/etcpak/System.hpp')
-rw-r--r-- | thirdparty/etcpak/System.hpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/thirdparty/etcpak/System.hpp b/thirdparty/etcpak/System.hpp new file mode 100644 index 0000000000..1a09bb15e1 --- /dev/null +++ b/thirdparty/etcpak/System.hpp @@ -0,0 +1,15 @@ +#ifndef __DARKRL__SYSTEM_HPP__ +#define __DARKRL__SYSTEM_HPP__ + +#include <thread> + +class System +{ +public: + System() = delete; + + static unsigned int CPUCores(); + static void SetThreadName( std::thread& thread, const char* name ); +}; + +#endif |