> On Sept. 24, 2014, 4:05 p.m., Timothy St. Clair wrote: > > src/module/manager.hpp, line 141 > > <https://reviews.apache.org/r/25848/diff/5/?file=701886#file701886line141> > > > > can't we use std::mutex now?
The current code relies on common/lock.hpp, that uses pthread mutexes. > On Sept. 24, 2014, 4:05 p.m., Timothy St. Clair wrote: > > src/module/manager.cpp, line 173 > > <https://reviews.apache.org/r/25848/diff/5/?file=701887#file701887line173> > > > > You could probably stick the json parsing into a separate sub-class. > > I'm all for breaking out a small JIRA tree from the comments. > > Niklas Nielsen wrote: > Is it so we can discuss the format further or because we should address > this in different patches? I have created a new private function that does all the parsing. Hopefully, that is more readable now. - Kapil ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/25848/#review54425 ----------------------------------------------------------- On Sept. 24, 2014, 7:54 p.m., Kapil Arya wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/25848/ > ----------------------------------------------------------- > > (Updated Sept. 24, 2014, 7:54 p.m.) > > > Review request for mesos, Benjamin Hindman, Bernd Mathiske, Niklas Nielsen, > and Timothy St. Clair. > > > Bugs: MESOS-1384 > https://issues.apache.org/jira/browse/MESOS-1384 > > > Repository: mesos-git > > > Description > ------- > > Adding a first class primitive, abstraction and process for dynamic library > writing and loading can make it easier to extend inner workings of Mesos. > Making it possible to have dynamic loadable resource allocators, isolators, > containerizes, authenticators and much more. > > > Diffs > ----- > > configure.ac da61c2984bac378d5298b781476da4f0c20375d1 > include/mesos/module.hpp.in PRE-CREATION > src/Makefile.am 9b973e5503e30180045e270220987ba647da8038 > src/examples/test_module.hpp PRE-CREATION > src/examples/test_module_impl.cpp PRE-CREATION > src/module/manager.hpp PRE-CREATION > src/module/manager.cpp PRE-CREATION > src/tests/module_tests.cpp PRE-CREATION > > Diff: https://reviews.apache.org/r/25848/diff/ > > > Testing > ------- > > Ran make check with added tests for verifying library/module loading and > simple version check. > > > Thanks, > > Kapil Arya > >