-
-
Notifications
You must be signed in to change notification settings - Fork 146
Open
Labels
good-first-issueGood for newcomersGood for newcomers
Description
I don't understand the "skipQueue" logic. Let's say that I want to have all my tasks to be "abortable". If I add a signal to all instantiations of a task, none of them goes into TaskQueue, they all are inside "skipQueue". Looking into the source code, one can see that aborting a task kills the thread when needed or removes the given task from TaskQueue, which is what the user would expect. To me skipQueue seems to be unnecessary. Abortable tasks should not have a greater priority. I think this behaviour should be reconsidered. As it is right now it is imposible to build a queue with cancellable tasks, only possible when returning at least 1 in the size method of a custom queue.
Metadata
Metadata
Assignees
Labels
good-first-issueGood for newcomersGood for newcomers