Skip to content

Commit

Permalink
rt: refactor current-thread scheduler (#4377)
Browse files Browse the repository at this point in the history
This patch does some refactoring to the current-thread scheduler bringing it closer to the
structure of the multi-threaded scheduler. More specifically, the core scheduler data is stored
in a Core struct and that struct is passed around as a "token" indicating permission to do
work. The Core structure is also stored in the thread-local context.

This refactor is intended to support #4373, making it easier to track counters in more locations
in the current-thread scheduler.
  • Loading branch information
carllerche authored Jan 7, 2022
1 parent 25e5141 commit cc8ad36
Show file tree
Hide file tree
Showing 7 changed files with 245 additions and 215 deletions.
Loading

0 comments on commit cc8ad36

Please sign in to comment.