[concurrency-interest]yet another proposal for Executor

David Holmes dholmes@dltech.com.au
Thu, 7 Feb 2002 10:28:30 +1000


> after handing it to Executor, then interrupt() or unqueue() will
> call cancel().

Okay. The docComment on cancel had me confused as to the intent.

> the person implementing cancel() for some Callable should write it so that
> it can be called at any time. An example might be this:

With suitable synchronization of course - at least volatile for handle_ and
result_. :)

Cheers,
David Holmes