-
- Downloads
pthread: fix pthread_self()
current_pthread was somehow not thread-local, so pthread_self() returned the last thread to initialize itself. The bug manifested itself with a jvm thread querying its own stack, finding another thread's stack instead, and reaching the conclusion that it was in a stack overflow, and throwing an exception. Fix by making current_pthread thread local.
Loading
Please register or sign in to comment