Joris Van Remoortere created MESOS-3158:
-------------------------------------------

             Summary: Libprocess Process: Join runqueue workers during 
finalization
                 Key: MESOS-3158
                 URL: https://issues.apache.org/jira/browse/MESOS-3158
             Project: Mesos
          Issue Type: Improvement
          Components: libprocess
            Reporter: Joris Van Remoortere


The lack of synchronization between ProcessManager destruction and the thread 
pool threads running the queued processes means that the shared state that is 
part of the ProcessManager gets destroyed prematurely.
Synchronizing the ProcessManager destructor with draining the work queues and 
stopping the workers will allow us to not require leaking the shared state to 
avoid use beyond destruction.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to