Skip to content
Snippets Groups Projects
  • Kevin Hartman's avatar
    Scheduler refactor Pt. 1 · 5fcbfc06
    Kevin Hartman authored
    * Simplifies scheduling logic, specifically regarding thread status. It should be much clearer which statuses are valid
    for a thread at any given point in the system.
    * Removes dead code from thread.cpp.
    * Moves the implementation of resetting a ThreadContext to the corresponding core's implementation.
    
    Other changes:
    * Fixed comments in arm interfaces.
    * Updated comments in thread.cpp
    * Removed confusing, useless, functions like MakeReady() and ChangeStatus() from thread.cpp.
    * Removed stack_size from Thread. In the CTR kernel, the thread's stack would be allocated before thread creation.
    5fcbfc06