mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-12 09:00:45 +02:00
After FEX has forked, there aren't any other threads in the process but their stacks remain. We need to have some book keeping in place to have the stack ranges available to clean up after fork. We now keep both live stacks and dead stacks in a dequeue and on fork we will walk both to clean up all stack objects that aren't our current thread.