Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Scheduler] Call postTask directly #19551

Merged
merged 1 commit into from
Aug 12, 2020
Merged

Commits on Aug 11, 2020

  1. [Scheduler] Call postTask directly

    This updates the experimental Scheduler postTask build to call postTask
    directly, instead of managing our own custom queue and work loop.
    
    We still use a deadline 5ms mechanism to implement `shouldYield`.
    
    The main thing that postTask is currently missing is the continuation
    feature — when yielding to the main thread, the yielding task is sent
    to the back of the queue, instead of maintaining its position.
    
    While this would be nice to have, even without it, postTask may be good
    enough to replace our userspace implementation.
    
    We'll run some tests to see.
    acdlite committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    cb5effe View commit details
    Browse the repository at this point in the history