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




3rdparty/stout/include/stout/posix/os.hpp (line 480)
<https://reviews.apache.org/r/54291/#comment228328>

    We should be able to use a simple function-local static here and avoid the 
global leak of `mutex`, e.g.,
    
        static std::mutex mutex;



3rdparty/stout/include/stout/posix/os.hpp (line 483)
<https://reviews.apache.org/r/54291/#comment228329>

    We can use a `const char*` here as we wouldn't want to modify the returned 
value.


- Benjamin Bannier


On Dec. 2, 2016, 7:42 a.m., Jie Yu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/54291/
> -----------------------------------------------------------
> 
> (Updated Dec. 2, 2016, 7:42 a.m.)
> 
> 
> Review request for mesos, Benjamin Hindman and Kevin Klues.
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Added os::ptsname to stout.
> 
> 
> Diffs
> -----
> 
>   3rdparty/stout/include/stout/posix/os.hpp 
> c37e64db662ba3cee83d2f55de0f9d71ad72c038 
> 
> Diff: https://reviews.apache.org/r/54291/diff/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Jie Yu
> 
>

Reply via email to