Browse Source

Fix the pthread_detach assert on Darwin.

pull/35/head
Dan Gohman 6 years ago
parent
commit
5ae48b06e1
  1. 2
      lib/execute/signalhandlers/SignalHandlers.cpp

2
lib/execute/signalhandlers/SignalHandlers.cpp

@ -772,7 +772,7 @@ EnsureDarwinMachPorts()
return false;
}
r = pthread_detach(handlerThread);
assert(r != 0);
assert(r == 0);
// In addition to the process-wide signal handler setup, OSX needs each
// thread configured to send its exceptions to sMachDebugPort. While there

Loading…
Cancel
Save