> On Aug. 27, 2012, 2:18 p.m., John Sirois wrote: > > third_party/libprocess/include/process/async.hpp, line 132 > > <https://reviews.apache.org/r/6668/diff/2/?file=141936#file141936line132> > > > > Where does ::*R come from? > > Vinod Kone wrote: > this is just the way to typedef a function pointer. 'R' is not a template > paramater or anything. does that make sense? > > http://stackoverflow.com/questions/4295432/typedef-function-pointer
Thanks - this makes sense now. - John ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/6668/#review10772 ----------------------------------------------------------- On Aug. 27, 2012, 5:46 p.m., Vinod Kone wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/6668/ > ----------------------------------------------------------- > > (Updated Aug. 27, 2012, 5:46 p.m.) > > > Review request for mesos, Benjamin Hindman, John Sirois, and Jie Yu. > > > Description > ------- > > Created a new abstraction called async() (which is similar in C++11 async). > > The idea is a user could use this abstraction to delegate blocking calls (eg: > system calls). > > The implementation is a bit messy, because C++ compiler is not very smart. > But, the usage is pretty simple. > > > Diffs > ----- > > third_party/libprocess/include/process/async.hpp PRE-CREATION > third_party/libprocess/src/tests.cpp 8f4b2ae > > Diff: https://reviews.apache.org/r/6668/diff/ > > > Testing > ------- > > (inside libprocess) > > make check > > > Thanks, > > Vinod Kone > >
