mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joerg Schad" <jo...@mesosphere.io>
Subject Re: Review Request 37894: Renamed cgroups::kill to cgroups::signal.
Date Fri, 28 Aug 2015 16:53:30 GMT


> On Aug. 28, 2015, 4:45 p.m., Cong Wang wrote:
> > Why? Everyone knows kill(2) sends a signal while signal(2) installs a signal handler...
> 
> Jie Yu wrote:
>     IMO, that naming is confusing, and should be 'signal' and 'install'.

This is actually answering a discussion here https://reviews.apache.org/r/36620/#comment152376.
And I agree that the original names are weird, but you are right in that we should have an
open discussion about this. I will send a mail to dev later on...


- Joerg


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/37894/#review96883
-----------------------------------------------------------


On Aug. 28, 2015, 4:39 p.m., Joerg Schad wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/37894/
> -----------------------------------------------------------
> 
> (Updated Aug. 28, 2015, 4:39 p.m.)
> 
> 
> Review request for mesos, Jie Yu, Till Toenshoff, and Timothy Chen.
> 
> 
> Bugs: MESOS-3086
>     https://issues.apache.org/jira/browse/MESOS-3086
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> As this function is actually just sending the signal we renamed it. Additionally we want
to introduce an actual cgroups::kill() with MESOS-3086.
> 
> 
> Diffs
> -----
> 
>   src/linux/cgroups.hpp 204c53038a1ccfa693f4f2293488cff8cdd60835 
>   src/linux/cgroups.cpp 6ef42ed1bc719f334d1ac6e90919a1bc1840d31f 
>   src/tests/containerizer/cgroups_tests.cpp 0b171eeb53037f26b7e952830e88e59f1278e7c6

> 
> Diff: https://reviews.apache.org/r/37894/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Joerg Schad
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message