From fba1c0f9777f2ef604358e4492c0da6bb05852fe Mon Sep 17 00:00:00 2001 From: marcelb Date: Wed, 27 Mar 2024 16:44:17 +0100 Subject: [PATCH] Condition varable for stoped rotating --- test/test.cpp | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/test/test.cpp b/test/test.cpp index 389cd88..ac47252 100644 --- a/test/test.cpp +++ b/test/test.cpp @@ -112,14 +112,13 @@ int main () { // cout << "interval sesti " << rtime_ms() - start << endl; // }, 3000); - // timeout time1 ( [&] () { - // cout << "Close interval 1 i 2 " << rtime_ms() - start << endl; - // inter1.clear(); - // // cout << "inter1.stop " << inter1.stop << endl; - // inter2.clear(); - // // cout << "inter2.stop " << inter2.stop << endl; - - // }, 5000); + timeout time1 ( [&] () { + cout << "Close interval 1 i 2 " << rtime_ms() - start << endl; + // inter1.clear(); + // cout << "inter1.stop " << inter1.stop << endl; + // inter2.clear(); + // cout << "inter2.stop " << inter2.stop << endl; + }, 5000); // timeout time2 ([&] () {