23#include <boost/test/unit_test.hpp>
30struct TestHandler :
RefCount<TestHandler, ThreadUnsafePolicy> {
48 using namespace literals::chrono_literals;
56 const auto now = CyclTime::now();
60 socks.first.send(
"foo", 4, 0);
61 socks.first.send(
"foo", 4, 0);
70 socks.first.send(
"foo", 4, 0);
80 using namespace literals::chrono_literals;
88 const auto now = CyclTime::now();
92 socks.first.send(
"foo", 4, 0);
93 socks.first.send(
"foo", 4, 0);
109 socks.first.send(
"foo", 4, 0);
BOOST_CHECK_EQUAL(v.size(), 10U)
BOOST_AUTO_TEST_CASE(ReactorLevelCase)