lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dawid Weiss (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-4281) Delegate to default thread factory in NamedThreadFactory
Date Thu, 02 Aug 2012 10:14:03 GMT

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

Dawid Weiss commented on LUCENE-4281:
-------------------------------------

This will require manual exclusion of that source file once the ban on Executors.defaultThreadFactory()
is in. An alternate route is to change the documentation and not claim compatibility with
defaultThreadFactory, instead just say that we create non-daemon threads with NORM_PRIORITY?
                
> Delegate to default thread factory in NamedThreadFactory
> --------------------------------------------------------
>
>                 Key: LUCENE-4281
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4281
>             Project: Lucene - Core
>          Issue Type: Improvement
>    Affects Versions: 3.6.1, 4.0, 5.0
>            Reporter: Simon Willnauer
>            Priority: Minor
>             Fix For: 4.0, 5.0, 3.6.2
>
>         Attachments: LUCENE-4281.patch
>
>
> currently we state that we yield the same behavior as Executors#defaultThreadFactory()
but this behavior could change over time even if it is compatible. We should just delegate
to the default thread factory instead of creating the threads ourself.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message