Enhancement #654

Improve cancellation of Tasks in the delay time

Added by J. Wienke about 10 years ago. Updated over 5 years ago.

Status:NewStart date:10/19/2011
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Threading
Target version:-

Description

With the current cancellation system of tasks, waiting threads in waitDone can only be reliably notified about the cancellation when the run method is executed by the threaded executor. This costs time and also prevents further optimizations by the executor. Improve this so that:

  • a cancel request before run is called immediately notifies waiting threads and prevents the task from running

History

#1 Updated by J. Wienke over 5 years ago

  • Assignee deleted (J. Wienke)

Also available in: Atom PDF