You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladislav Pyatkov (JIRA)" <ji...@apache.org> on 2018/10/15 12:44:00 UTC

[jira] [Created] (IGNITE-9885) Issue in termination of GridWorkerFuture

Vladislav Pyatkov created IGNITE-9885:
-----------------------------------------

             Summary: 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


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)