mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-14 11:01:01 +02:00
This is just a memory leak waiting to happen. Only the primary thread in an application really should have this set since the kernel cleans it up. We only ever allocate the primary thread of the guest application then every host thread's stack on top of that. It's up to the guest when it is cloning to set up new stack pointers, we don't manage that. We are already allocating the first thread's size at the soft stack limit with RLIMIT_STACK anyway. Fixes #1556