Skip to content
Snippets Groups Projects
Commit 74b624af authored by Avi Kivity's avatar Avi Kivity
Browse files

sched: fix double-free of detached threads

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.
parent ad357426
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment