mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Downes" <ian.dow...@gmail.com>
Subject Re: Review Request 19361: Add support to look up thread ids using /proc on Linux
Date Wed, 26 Mar 2014 22:09:09 GMT

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

(Updated March 26, 2014, 10:09 p.m.)


Review request for mesos, Ben Mahler, Jie Yu, and Vinod Kone.


Changes
-------

Added comment on why clone() is used.


Repository: mesos-git


Description
-------

Use directory entries in /proc/<pid>/task/ to get threads for <pid>.

Two tests added which create children with 0 and 2 additional threads.


Diffs (updated)
-----

  3rdparty/libprocess/3rdparty/stout/include/stout/proc.hpp 201e4b88e352baf4ce0549c6359c034a3e1d960d

  3rdparty/libprocess/3rdparty/stout/tests/proc_tests.cpp bc7e24821ef0bf887f0879033b0bb8dab70dcc2e


Diff: https://reviews.apache.org/r/19361/diff/


Testing
-------

make check # Linux


Thanks,

Ian Downes


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