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

core: Introduce ThreadPoolBuilder::use_current_thread. #1063

Merged
merged 6 commits into from
Sep 20, 2023

Commits on Sep 20, 2023

  1. core: registry: Allow using the current thread in a new pool.

    See discussion in rayon-rs#1052.
    
    Closes rayon-rs#1052.
    cuviper authored and emilio committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    9461f7b View commit details
    Browse the repository at this point in the history
  2. core: registry: Rename ThreadPoolBuilder::use_current to use_current_…

    …thread.
    
    As per suggestion in rayon-rs#1052.
    emilio committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    18f6861 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    87274ad View commit details
    Browse the repository at this point in the history
  4. core: tests: Add some basic tests for ThreadPoolBuilder::use_current_…

    …thread.
    
    Ideas for testing the "call cleanup function from a job" case would be
    great.
    emilio committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    f4db4d7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    40b59c0 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    01d2800 View commit details
    Browse the repository at this point in the history