Benjamin Bannier created MESOS-4960:
---------------------------------------
Summary: Implement clang-tidy checks for correct usage of
spawn/terminate
Key: MESOS-4960
URL: https://issues.apache.org/jira/browse/MESOS-4960
Project: Mesos
Issue Type: Improvement
Reporter: Benjamin Bannier
The use of libprocess' {{spawn}} requires care, e.g.,
* if a process is {{spawn}}'ed as unmanaged it should always explicitly be
{{terminate}}'ed at some later point,
* if a process is {{spawn}}'ed as managed the process must not be
stack-allocated.
We should add clang static analysis to ensure correct usage.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)