> On March 30, 2014, 6:04 p.m., Cong Wang wrote:
> > src/linux/routing.cpp, line 95
> > <https://reviews.apache.org/r/19702/diff/4/?file=540352#file540352line95>
> >
> >     Even though it's in routing namespace, can we rename socket() to 
> > nl_socket() (or something like that) in case of confused by socket(2)?

Cong, the purpose of namespace is exactly for disambiguation. In mesos, we use 
namespace for disambiguation in a lot of the places. For example: process::wait 
vs. ::wait(). Typically, we don't sacrifice naming for disambiguation :)


- Jie


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


On March 29, 2014, 5:59 a.m., Jie Yu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19702/
> -----------------------------------------------------------
> 
> (Updated March 29, 2014, 5:59 a.m.)
> 
> 
> Review request for mesos, Benjamin Hindman, Chi Zhang, Ian Downes, Vinod 
> Kone, and Cong Wang.
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> UPDATE:
> 
> 1) adjusted a few interfaces per review comments.
> 2) added impl. (including tests) for managing links.
> 
> I'll be adding impl. for managing filters soon (currently, they return 
> Error("Unimplemented").)
> 
> 
> ------
> 
> Hey guys, I send this review in order to get an idea about the interface 
> design.
> 
> Feel free to jump in to express your thoughts, suggestions, concerns, etc.
> 
> Thanks!
> 
> 
> Diffs
> -----
> 
>   configure.ac 5404dc2 
>   src/Makefile.am 47d03b3 
>   src/linux/routing.hpp PRE-CREATION 
>   src/linux/routing.cpp PRE-CREATION 
>   src/tests/routing_tests.cpp PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/19702/diff/
> 
> 
> Testing
> -------
> 
> make check
> 
> sudo make check
> 
> 
> Thanks,
> 
> Jie Yu
> 
>

Reply via email to