From ff7e3940844c20cdb0ea5d4c526db4352bb52a4d Mon Sep 17 00:00:00 2001 From: "Vicente J. Botet Escriba" Date: Sat, 21 Feb 2015 11:20:42 +0100 Subject: [PATCH] remove last sleep as now the tasks block the executors shared state lifetime as it is copied. --- example/serial_executor.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/example/serial_executor.cpp b/example/serial_executor.cpp index ad25e822..967c1ea7 100644 --- a/example/serial_executor.cpp +++ b/example/serial_executor.cpp @@ -86,7 +86,6 @@ int test_executor_adaptor() boost::basic_thread_pool ea1(4); boost::serial_executor ea2(ea1); submit_some(ea2); - boost::this_thread::sleep_for(boost::chrono::seconds(10)); } #endif // std::cout << BOOST_CONTEXTOF << std::endl;