You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of now, task termination leaks stacks. Furthermore, on x86, TSSes are leaked as well.
There are two possible ways of handling thread termination
User Request Monitor thread that will wait for requests to terminate. Threads will enqueue them in some queue and User Request Monitor will dispose resources associated with them (both common like stacks and platform-specific like TSS)
Per-cpu stack locked by mutex to which threads will switch to deallocate whatever they need to deallocate. For TSS on x86, some temporatory TSS should be loaded with correct interrupt and scheduler stacks
The text was updated successfully, but these errors were encountered:
Florence/src/thread/scheduler.zig
Lines 82 to 97 in 8d788c0
As of now, task termination leaks stacks. Furthermore, on x86, TSSes are leaked as well.
There are two possible ways of handling thread termination
The text was updated successfully, but these errors were encountered: