You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/04/08 00:16:25 UTC

[jira] [Commented] (JENA-1162) Make the AlarmClock thread a daemon.

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

ASF subversion and git services commented on JENA-1162:
-------------------------------------------------------

Commit 0f1babe52663133cb05d49e5b14e6ea01e9edb7c in jena's branch refs/heads/master from [~andy.seaborne]
[ https://git-wip-us.apache.org/repos/asf?p=jena.git;h=0f1babe ]

JENA-1162 : Use daemon threads for AlarmClocks.

> Make the AlarmClock thread a daemon.
> ------------------------------------
>
>                 Key: JENA-1162
>                 URL: https://issues.apache.org/jira/browse/JENA-1162
>             Project: Apache Jena
>          Issue Type: Bug
>    Affects Versions: Jena 3.0.1
>            Reporter: Andy Seaborne
>            Priority: Minor
>
> {{AlarmClock}} can block VM exit.
> {noformat}
>   AlarmClock ac = AlarmClock.get() ;
>   Alarm a = ac.add(()->{}, 1) ;
>   a.future.get();
> {noformat}
> This creates the single thread but it is not a daemon thread.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)