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

new scheduler from RFC 5 #746

Merged
merged 33 commits into from
Aug 13, 2020
Merged

Commits on Aug 1, 2020

  1. adjust sleep module API to have an IdleState object

    This makes the "idle state" private to the sleep module.
    nikomatsakis committed Aug 1, 2020
    Configuration menu
    Copy the full SHA
    5d5301b View commit details
    Browse the repository at this point in the history
  2. port to the new log api

    This involves:
    
    * creating a `Logger` object (always)
    * using `logger.log(|| ...)` instead of a macro
        * if logs are not compiled in, this should be optimized away
    * the logger tracks the number of active threads in various states etc
    * some log event names were "normalized" to be more consistent
    nikomatsakis committed Aug 1, 2020
    Configuration menu
    Copy the full SHA
    bb59970 View commit details
    Browse the repository at this point in the history
  3. remove JobPoppedRhs event and register JobPopped from take_local_job

    this was needed to register events from `scope` correctly
    nikomatsakis committed Aug 1, 2020
    Configuration menu
    Copy the full SHA
    2442f67 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2458fee View commit details
    Browse the repository at this point in the history
  5. add --skip-bridge option to life

    The par-bridge test can be really slow and tedious to test.
    nikomatsakis committed Aug 1, 2020
    Configuration menu
    Copy the full SHA
    cddc265 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2020

  1. add new thread-pool

    nikomatsakis committed Aug 3, 2020
    Configuration menu
    Copy the full SHA
    2803c59 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0b31522 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0713753 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cbd484c View commit details
    Browse the repository at this point in the history
  5. apply cargo fmt

    nikomatsakis committed Aug 3, 2020
    Configuration menu
    Copy the full SHA
    90da62d View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2020

  1. Configuration menu
    Copy the full SHA
    30f5928 View commit details
    Browse the repository at this point in the history
  2. update to crossbeam-channel 0.4

    cuviper authored and nikomatsakis committed Aug 4, 2020
    Configuration menu
    Copy the full SHA
    b8017a3 View commit details
    Browse the repository at this point in the history
  3. Update rayon-core/src/registry.rs

    Co-Authored-By: Josh Stone <cuviper@gmail.com>
    nikomatsakis and cuviper committed Aug 4, 2020
    Configuration menu
    Copy the full SHA
    e2fc62e View commit details
    Browse the repository at this point in the history
  4. add warning comments

    nikomatsakis committed Aug 4, 2020
    Configuration menu
    Copy the full SHA
    c554e94 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0253df0 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4619d34 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d511364 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    e460cc4 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8a99d66 View commit details
    Browse the repository at this point in the history
  10. rename from INVALID to MAX

    (it is, after all, valid)
    nikomatsakis committed Aug 4, 2020
    Configuration menu
    Copy the full SHA
    2c22c80 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    908e137 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    1222cbe View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    2124e83 View commit details
    Browse the repository at this point in the history
  14. begin updating README

    nikomatsakis committed Aug 4, 2020
    Configuration menu
    Copy the full SHA
    5d89960 View commit details
    Browse the repository at this point in the history
  15. simplified JEC scheme

    nikomatsakis committed Aug 4, 2020
    Configuration menu
    Copy the full SHA
    d59dcd6 View commit details
    Browse the repository at this point in the history
  16. prep work for usize JEC

    nikomatsakis committed Aug 4, 2020
    Configuration menu
    Copy the full SHA
    490a39f View commit details
    Browse the repository at this point in the history
  17. change to AtomicUsize

    nikomatsakis committed Aug 4, 2020
    Configuration menu
    Copy the full SHA
    71d214e View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    700061b View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    76ce5f5 View commit details
    Browse the repository at this point in the history
  20. transition to even/odd scheme

    This avoids the need to increment the JEC on every new job while still,
    I believe, avoiding deadlock.
    nikomatsakis committed Aug 4, 2020
    Configuration menu
    Copy the full SHA
    a0efb4a View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    c3a5304 View commit details
    Browse the repository at this point in the history
  22. inline more Counter methods

    cuviper authored and nikomatsakis committed Aug 4, 2020
    Configuration menu
    Copy the full SHA
    96ba9ef View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2020

  1. Update ci/compat-Cargo.lock

    cuviper committed Aug 13, 2020
    Configuration menu
    Copy the full SHA
    ed6a5f7 View commit details
    Browse the repository at this point in the history