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

Fix enq_work behavior when single-threaded #48702

Merged
merged 5 commits into from
Mar 9, 2023
Merged

Fix enq_work behavior when single-threaded #48702

merged 5 commits into from
Mar 9, 2023

Commits on Mar 6, 2023

  1. Extend Threads.threadpoolsize

    Allow specifying which thread pool's size to retrieve.
    kpamnany committed Mar 6, 2023
    Configuration menu
    Copy the full SHA
    dc68ffc View commit details
    Browse the repository at this point in the history
  2. Update nthreads(pool)

    Now returns `threadpoolsize(pool)`.
    kpamnany committed Mar 6, 2023
    Configuration menu
    Copy the full SHA
    944dce9 View commit details
    Browse the repository at this point in the history
  3. Fix task thread pool assignment

    If a task is spawned with `:interactive` but there are no interactive
    threads, set the task's thread pool to `:default` so that we don't have
    to keep checking it in other places.
    kpamnany committed Mar 6, 2023
    Configuration menu
    Copy the full SHA
    38727be View commit details
    Browse the repository at this point in the history
  4. Fix enq_work behavior when single-threaded

    If there's only one thread in the task's preferred thread pool, use that
    thread's work queue.
    kpamnany committed Mar 6, 2023
    Configuration menu
    Copy the full SHA
    a3a92e8 View commit details
    Browse the repository at this point in the history
  5. Fix test for threadpool use

    kpamnany committed Mar 6, 2023
    Configuration menu
    Copy the full SHA
    55422d9 View commit details
    Browse the repository at this point in the history