You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jerry Cwiklik (JIRA)" <de...@uima.apache.org> on 2019/01/18 15:58:00 UTC

[jira] [Closed] (UIMA-5965) UIMA-DUCC: pullservice client protocol handler synchronization not working

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

Jerry Cwiklik closed UIMA-5965.
-------------------------------
    Resolution: Fixed

Modified to use sleep() instead of wait() to synchronize method access 

> UIMA-DUCC: pullservice client protocol handler synchronization not working
> --------------------------------------------------------------------------
>
>                 Key: UIMA-5965
>                 URL: https://issues.apache.org/jira/browse/UIMA-5965
>             Project: UIMA
>          Issue Type: Bug
>          Components: DUCC
>            Reporter: Jerry Cwiklik
>            Assignee: Jerry Cwiklik
>            Priority: Major
>             Fix For: 2.2.3-Ducc
>
>
> The getMetaMetaTask() method synchronization is not working as expected. The retry loop uses java wait() which does not lock the method and allows multiple threads to run concurrently. Use Thread.currentThread().sleep() instead



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