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

Richard S. Hall edited comment on FELIX-3807 at 12/13/12 3:17 PM:
------------------------------------------------------------------

A thread cannot grab a bundle lock after someone has grabbed the global lock. 
It is only possible to hold a bundle lock if it was acquired before any other 
thread acquired the global lock. This approach allows all existing bundle lock 
holders to finish, without starving the global lock holder.

At least, that is the intent. :-)
                
      was (Author: rickhall):
    A thread cannot grab a bundle lock after someone has grabbed the global 
lock. It is only possible to hold a bundle lock if it was acquired before any 
other thread acquired the global lock. This approach allows all existing bundle 
lock holders to finish, without starving the global lock holder.
                  
> Refreshing bundles should first grab all the bundle locks to avoid concurrent 
> modifications of those bundles
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-3807
>                 URL: https://issues.apache.org/jira/browse/FELIX-3807
>             Project: Felix
>          Issue Type: Improvement
>          Components: Framework
>            Reporter: Guillaume Nodet
>
> This will avoid possible problems where bundles states can change between 
> stopping the bundle and actually refreshing them.

--
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

Reply via email to