ctakes-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kim Ebert (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CTAKES-151) LVG is not thread safe for multiple instances inside of a single JVM.
Date Tue, 02 Apr 2013 19:25:15 GMT

    [ https://issues.apache.org/jira/browse/CTAKES-151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13620155#comment-13620155
] 

Kim Ebert commented on CTAKES-151:
----------------------------------

It appears the Out class is not thread safe in the current release, as it uses static variables.

We make use of the out class in the MutateToString call inside of the LvgCmdApi(), so I don't
think the recommendation will work to allow multiple instances of LvgCmdApi() to be used at
the same time even if they are read only.
                
> LVG is not thread safe for multiple instances inside of a single JVM.
> ---------------------------------------------------------------------
>
>                 Key: CTAKES-151
>                 URL: https://issues.apache.org/jira/browse/CTAKES-151
>             Project: cTAKES
>          Issue Type: Sub-task
>          Components: ctakes-lvg
>    Affects Versions: future enhancement, 3.0-incubating, 3.1-incubating
>            Reporter: Kim Ebert
>            Priority: Critical
>         Attachments: lvg_static_fix.patch
>
>
> The LVG library is not thread safe. It uses global variables, so between multiple instances,
the data will become corrupted.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message