Browse Source

Don't set thread name on Mac.

tags/v1.0.0
Andrew Belt 5 years ago
parent
commit
a97ae1c7a7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/system.cpp

+ 1
- 1
src/system.cpp View File

@@ -89,7 +89,7 @@ int getPhysicalCoreCount() {
}

void setThreadName(const std::string &name) {
#if defined ARCH_LIN || defined ARCH_MAC
#if defined ARCH_LIN
pthread_setname_np(pthread_self(), name.c_str());
#elif defined ARCH_WIN
// Unsupported on Windows


Loading…
Cancel
Save