[ 
https://issues.apache.org/jira/browse/FELIX-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12704958#action_12704958
 ] 

Karl Pauls commented on FELIX-1105:
-----------------------------------

The point is that threads inherit the daemon status from their parent (ie., the 
thread that created them). Unless you explicitly override using setDaemon. In 
felix, we settled for letting this happen as it seems the most flexible. 
Equinox will start with a daemon thread which makes all other threads be daemon 
by default. There is an equinox specific property to change this behavior. 
Probably, it is best to use that property instead of introducing a new one to 
karaf...

> Make Thread in LocalConsole not a daemon thread
> -----------------------------------------------
>
>                 Key: FELIX-1105
>                 URL: https://issues.apache.org/jira/browse/FELIX-1105
>             Project: Felix
>          Issue Type: Improvement
>          Components: Karaf
>            Reporter: Alin Dreghiciu
>            Priority: Minor
>
> When using the LocalConsole in Equinox without console, equinox will exit if 
> their own console is not there (and is not there because we use GShell) 
> unless there is a non daemon thread. So, just mark the created thread as non 
> daemon thread.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to