Ticket #2683 (closed: fixed)
ThreadPool: ability to resume a ThreadScheduler without restarting threads
Reported by: | Janik Zikovsky | Owned by: | Janik Zikovsky |
---|---|---|---|
Priority: | major | Milestone: | Iteration 28 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Vickie Lynch |
Description
I need to be able to interrupt a list of tasks with a new list of tasks that cannot run concurrently with the first list:
- Wait for all current tasks to complete.
- Switch to a new scheduler
- Finish the tasks in that scheduler.
- Resume the tasks in the old scheduler.
Change History
comment:2 Changed 10 years ago by Janik Zikovsky
- Summary changed from ThreadPool: ability to interrupt a scheduler with another. to ThreadPool: ability to resume a ThreadScheduler without restarting threads
Change description:
- new method, similar to joinAll, that does not abort threads when the scheduler is empty. Instead, it allows the scheduler to get re-filled and the threads just wait for new tasks.
comment:3 Changed 10 years ago by Janik Zikovsky
- Status changed from accepted to verify
- Resolution set to fixed
comment:4 Changed 9 years ago by Vickie Lynch
- Status changed from verify to verifying
- Tester set to Vickie Lynch
Note: See
TracTickets for help on using
tickets.