Add option to name threads and name main thread

This commit is contained in:
2020-11-20 21:37:12 +01:00
parent ef80e8918f
commit 7ed8f0134f
3 changed files with 30 additions and 0 deletions

View File

@@ -16,6 +16,8 @@ namespace openVulkanoCpp
class Utils
{
public:
static void SetThreadName(const std::string& name);
static inline std::vector<const char*> toCString(const std::vector<std::string>& values)
{
std::vector<const char*> result;