[ 
https://issues.apache.org/jira/browse/IGNITE-9885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vladislav Pyatkov updated IGNITE-9885:
--------------------------------------
    Description: 
Can to start a closure through method like

{{GridClosureProcessor#runLocalSafe(java.lang.Runnable)}}

but does not possible to wait termination of the task after cancellation.

For understanding need to look at {{GridWorkerFuture.cancel}}. The method affix 
an {{interrupted}} flag on executed thread, but not wait task termination. 
Having an instance of GridWorkerFuture, you can not to await real termination 
of task.

  was:
Can to start a closure through method like 
{{GridClosureProcessor#runLocalSafe(java.lang.Runnable)}}

but does not possible to wait termination of the task after cancellation.

For understanding need to look at {{GridWorkerFuture.cancel}}. The method affix 
an {{interrupted}} flag on executed thread, but not wait task termination. 
Having an instance of GridWorkerFuture, you can not to await real termination 
of task.


> Issue in termination of GridWorkerFuture
> ----------------------------------------
>
>                 Key: IGNITE-9885
>                 URL: https://issues.apache.org/jira/browse/IGNITE-9885
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Vladislav Pyatkov
>            Priority: Major
>
> Can to start a closure through method like
> {{GridClosureProcessor#runLocalSafe(java.lang.Runnable)}}
> but does not possible to wait termination of the task after cancellation.
> For understanding need to look at {{GridWorkerFuture.cancel}}. The method 
> affix an {{interrupted}} flag on executed thread, but not wait task 
> termination. Having an instance of GridWorkerFuture, you can not to await 
> real termination of task.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to