Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
trunk
-
None
Description
Background
Existing producer-consumer (PC) framework lacks:
- Restarting tasks.
- Results accumulation.
- Waiting for all tasks to complete.
Solution Guidance
Additional methods to include:
- drain: Complete execution of existing tasks.
- submit: Resubmit tasks.
- checkAndSubmit: Check if tasks are available before submissions.
- getResults: Get accumulated results.