Two things here: 1. Make the reaper thread have a higher priority so it gets run ASAP when a thread needs to be reaped. 2. Free the thread's reent structure the right way.
Two things here:
1. Make the reaper thread have a higher priority so it gets run ASAP when a thread needs to be reaped.
2. Free the thread's reent structure the right way.



DreamcastSDK/kos,DreamcastSDK/kos,DreamcastSDK/kos