Skip to content

Implement `requestAbort()` for `Collection`

Dāvis Mosāns requested to merge davism/threadweaver:abort into master

When working with Collection we might have a need to abort all jobs in collection.

Job already has requestAbort() method but it wasn't implemented for Collection.

And we have Collection::stop() method but that would only prevent non-queued jobs from running but it wouldn't do anything about already running jobs.

Note that this MR also includes !19 (merged) and !22 (merged) because it touches same code lines but intention is only last commit davism/threadweaver@503f8378.

Merge request reports