2
0
mirror of https://github.com/boostorg/fiber.git synced 2026-02-19 14:22:23 +00:00

remove support for fiber interruption

This commit is contained in:
Oliver Kowalke
2016-04-19 18:16:31 +02:00
parent 5027d3526f
commit 57267ec957
25 changed files with 39 additions and 687 deletions

View File

@@ -48,10 +48,6 @@ void session( socket_ptr sock) {
throw boost::system::system_error( ec); //some other error
}
}
} catch ( boost::fibers::fiber_interrupted const&) {
std::ostringstream buffer;
buffer << "tid=" << std::this_thread::get_id() << ", fid=" << id << " : interrupted" << std::endl;
std::cerr << buffer.str() << std::flush;
} catch ( std::exception const& ex) {
std::ostringstream buffer;
buffer << "tid=" << std::this_thread::get_id() << ", fid=" << id << " : catched exception : " << ex.what() << std::endl;
@@ -78,10 +74,6 @@ void server( boost::asio::io_service & io_svc) {
boost::fibers::fiber( session, socket).detach();
}
}
} catch ( boost::fibers::fiber_interrupted const&) {
std::ostringstream buffer;
buffer << "tid=" << std::this_thread::get_id() << ", fid=" << id << " : interrupted" << std::endl;
std::cerr << buffer.str() << std::flush;
} catch ( std::exception const& ex) {
std::ostringstream buffer;
buffer << "tid=" << std::this_thread::get_id() << ", fid=" << id << " : catched exception : " << ex.what() << std::endl;