Kernel: Separate scheduler execution and stack loading

Not sure if this is actually needed, but this allows actual
executing function to be in clean environment
This commit is contained in:
2023-10-13 14:14:05 +03:00
parent 63f64619bc
commit 89d74a9088
2 changed files with 20 additions and 1 deletions

View File

@@ -31,6 +31,7 @@ namespace Kernel
static bool is_valid_tid(pid_t tid);
[[noreturn]] void execute_current_thread();
[[noreturn]] void _execute_current_thread();
[[noreturn]] void delete_current_process_and_thread();
private: