You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Richard Atkins (JIRA)" <ji...@apache.org> on 2012/11/04 06:03:11 UTC
[jira] [Created] (EXEC-70) Delegate thread creation to
java.util.concurrent.ThreadFactory
Richard Atkins created EXEC-70:
----------------------------------
Summary: 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
[jira] [Commented] (EXEC-70) Delegate thread creation to
java.util.concurrent.ThreadFactory
Posted by "Richard Atkins (JIRA)" <ji...@apache.org>.
[ 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