Merge branch 'v0.20.x'

This commit is contained in:
Max Kellermann
2018-01-15 09:06:31 +01:00
3 changed files with 19 additions and 2 deletions

View File

@@ -86,6 +86,10 @@ Thread::ThreadProc(void *ctx) noexcept
{
Thread &thread = *(Thread *)ctx;
#ifndef NDEBUG
thread.inside_handle = pthread_self();
#endif
thread.Run();
return nullptr;