-
Avi Kivity authored
The detached thread reaper deletes zombies, but our pthread implementation also deletes dead pthreads (using the container object). Fix by making the base thread use the set_cleanup() method to set up a deleter, which is then overridden by pthreads.
Avi Kivity authoredThe detached thread reaper deletes zombies, but our pthread implementation also deletes dead pthreads (using the container object). Fix by making the base thread use the set_cleanup() method to set up a deleter, which is then overridden by pthreads.