mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-09 08:32:04 +02:00
We were forgetting where we put the userspace thread stacks, so added a member called Thread::m_userspace_thread_stack to keep track of it. Then, in ~Thread(), we now deallocate the userspace, kernel and signal stacks (if present.) Out of curiosity, the "init_stage2" process doesn't have a kernel stack which I found surprising. :^)
18 KiB
18 KiB