You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Benjamin Bannier (JIRA)" <ji...@apache.org> on 2016/03/16 13:11:33 UTC

[jira] [Created] (MESOS-4960) Implement clang-tidy checks for correct usage of spawn/terminate

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)