mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Pravat (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MESOS-3639) Implement stout/os/windows/killtree.hpp
Date Fri, 13 May 2016 04:02:12 GMT

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

Daniel Pravat updated MESOS-3639:
---------------------------------
    Description: 
killtree() is implemented using Windows Job Objects. The processes created by the  executor
are associated with a job object using `create_job'. killtree() is simply terminating the
job object. 

Helper functions:
`create_job` function creates a job object whose name is derived from the `pid` and associates
the `pid` process with the job object. Every process started by the process which is part
of the job object becomes part of the job object. The job name should match the name used
in `kill_job`.

`kill_job` function assumes the process identified by `pid` is associated with a job object
whose name is derive from it. Every process started by the process which is part of the job
object becomes part of the job object. Destroying the task will close all such processes.

  was:
killtree() is implemented using Windows Job Objects. The processes created by the  executor
are associated with a job object using `create_job'. killtree() is simply terminating the
job object. 

Helper functions:
`create_job` function create a job object whose name is derived from the `pid` and associates
the  process with the job object. Every process started by the process which is part of the
job object becomes part of the job object. The job name should match the name used in `kill_job`.

`kill_job` function assumes the process identified by `pid` is associated with a job object
whose name is derive from it. Every process started by the process which is part of the job
object becomes part of the job object. Destroying the task will close all such processes.


> Implement stout/os/windows/killtree.hpp
> ---------------------------------------
>
>                 Key: MESOS-3639
>                 URL: https://issues.apache.org/jira/browse/MESOS-3639
>             Project: Mesos
>          Issue Type: Task
>          Components: stout
>            Reporter: Alex Clemmer
>            Assignee: Daniel Pravat
>              Labels: mesosphere, windows
>
> killtree() is implemented using Windows Job Objects. The processes created by the  executor
are associated with a job object using `create_job'. killtree() is simply terminating the
job object. 
> Helper functions:
> `create_job` function creates a job object whose name is derived from the `pid` and associates
the `pid` process with the job object. Every process started by the process which is part
of the job object becomes part of the job object. The job name should match the name used
in `kill_job`.
> `kill_job` function assumes the process identified by `pid` is associated with a job
object whose name is derive from it. Every process started by the process which is part of
the job object becomes part of the job object. Destroying the task will close all such processes.



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

Mime
View raw message