Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Returning from the thread this way prevents local variables to be destructed correctly since pthread_exit is marked noreturn. This fixes a segmentation fault with glibc and llvm-libunwind on exit.
- Loading branch information