commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Atkins (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (EXEC-70) Delegate thread creation to java.util.concurrent.ThreadFactory
Date Sun, 04 Nov 2012 05:03:12 GMT

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

Richard Atkins commented on EXEC-70:
------------------------------------

Implementing this would require direct support for Java 1.5. Is Commons Exec ready to make
that its minimum supported JDK level?
                
> 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 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