X-Git-Url: https://git.llucax.com/software/eventxx.git/blobdiff_plain/ce13dd6e8fa9f96fc4535c942ac091333c562e64..a40aa4e85b7652886bda0669191a2185bfcbfc2d:/test/bench.cpp?ds=sidebyside diff --git a/test/bench.cpp b/test/bench.cpp index e621ed0..be6a8c7 100644 --- a/test/bench.cpp +++ b/test/bench.cpp @@ -30,7 +30,7 @@ * Added chain event propagation to improve the sensitivity of * the measure respect to the event loop efficency. * - * Wed 2006-12-27 - Modified by Leandro Lucarella + * Wed 2006-12-27 - Modified by Leandro Lucarella * * Adapted to test the C++ inteface. * @@ -88,8 +88,8 @@ run_once(void) static eventxx::time ts, te; for (cp = pipes, i = 0; i < num_pipes; i++, cp += 2) { - events.push_back(new eventxx::cevent(cp[0], EV_READ | EV_PERSIST, - read_cb, (void *) i)); + events.push_back(new eventxx::cevent(cp[0], + eventxx::READ | eventxx::PERSIST, read_cb, (void *) i)); d.add(*events[i]); }