Skip to content

Fix thread cleanup after main exits.

Jacob Lorentzon requested to merge 4lDO2/relibc:fix_pthread_cancel into master

Fixes a use-after-free in the main thread cleanup code, which caused contain_test to trigger kstop by killing an undefined PID (which in this case became 1, i.e. kmain).

Merge request reports