commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (EXEC-70) Delegate thread creation to java.util.concurrent.ThreadFactory
Date Thu, 09 Jan 2014 12:08:51 GMT

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

Sebb commented on EXEC-70:
--------------------------

Minimum should be 5 unless Exec *really* needs features from a later version.
This ensures Exec can be used on the widest selection of JVMs.

> Delegate thread creation to java.util.concurrent.ThreadFactory
> --------------------------------------------------------------
>
>                 Key: EXEC-70
>                 URL: https://issues.apache.org/jira/browse/EXEC-70
>             Project: Commons Exec
>          Issue Type: New Feature
>            Reporter: Richard Atkins
>            Priority: Minor
>
> Direct calls to Thread constructors are usually a bad idea. It's better to allow callers
to configure a ThreadFactory, and to invoke that to create them for us. This would allow callers
to adjust thread priorities, names, daemon/user thread levels, thread groups and UncaughtExceptionHandlers.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message