You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2018/03/07 04:30:00 UTC

[jira] [Commented] (EXEC-106) Watchdog class could use volatile instead of synch

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

Gary Gregory commented on EXEC-106:
-----------------------------------

Looks needed indeed.

> Watchdog class could use volatile instead of synch
> --------------------------------------------------
>
>                 Key: EXEC-106
>                 URL: https://issues.apache.org/jira/browse/EXEC-106
>             Project: Commons Exec
>          Issue Type: Improvement
>            Reporter: Sebb
>            Priority: Major
>
> It looks like the Watchdog class could use volatile for the boolean field 'stopped' instead of synchronising.



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