You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Peter Gromov (Jira)" <ji...@apache.org> on 2021/02/16 14:17:00 UTC

[jira] [Updated] (LUCENE-9779) Hunspell: add an API to interrupt long computations

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

Peter Gromov updated LUCENE-9779:
---------------------------------
    Description: For example, to ensure responsiveness, IntelliJ-based IDEs periodically call a special method which can throw a dedicated exception. This allows the currently executed computation to be interrupted and release all the locks it holds, allowing the UI thread to grab them as quickly as possible.

> Hunspell: add an API to interrupt long computations
> ---------------------------------------------------
>
>                 Key: LUCENE-9779
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9779
>             Project: Lucene - Core
>          Issue Type: Sub-task
>            Reporter: Peter Gromov
>            Priority: Major
>
> For example, to ensure responsiveness, IntelliJ-based IDEs periodically call a special method which can throw a dedicated exception. This allows the currently executed computation to be interrupted and release all the locks it holds, allowing the UI thread to grab them as quickly as possible.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org