[ 
https://issues.apache.org/jira/browse/MESOS-8075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benjamin Mahler updated MESOS-8075:
-----------------------------------
    Description: 
We want to add a new {{ReadWriteLock}} similar to {{Mutex}}, which can provide 
better concurrecy protection for mutual exclusive actions, but allow high 
concurrency for actions which can be performed at the same time.

One use case is image garbage collection: the new API 
{{provisioner::pruneImages}} needs to be mutually exclusive from 
{{provisioner::provision}}, but multiple {{{provisioner::provision}} can 
concurrently run safely.

  was:
We want to add a new {{RWMutex}} similar to {{Mutex}}, which can provide better 
concurrecy protection for mutual exclusive actions, but allow high concurrency 
for actions which can be performed at the same time.

One use case is image garbage collection: the new API 
{{provisioner::pruneImages}} needs to be mutually exclusive from 
{{provisioner::provision}}, but multiple {{{provisioner::provision}} can 
concurrently run safely.


> Add ReadWriteLock to libprocess.
> --------------------------------
>
>                 Key: MESOS-8075
>                 URL: https://issues.apache.org/jira/browse/MESOS-8075
>             Project: Mesos
>          Issue Type: Task
>          Components: libprocess
>            Reporter: Zhitao Li
>            Assignee: Zhitao Li
>              Labels: Mesosphere
>             Fix For: 1.5.0
>
>
> We want to add a new {{ReadWriteLock}} similar to {{Mutex}}, which can 
> provide better concurrecy protection for mutual exclusive actions, but allow 
> high concurrency for actions which can be performed at the same time.
> One use case is image garbage collection: the new API 
> {{provisioner::pruneImages}} needs to be mutually exclusive from 
> {{provisioner::provision}}, but multiple {{{provisioner::provision}} can 
> concurrently run safely.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to