From 4e1e9fc240bd22828125853d5619190366bbe6a8 Mon Sep 17 00:00:00 2001 From: Oliver Kowalke Date: Sat, 19 Sep 2015 16:14:06 +0200 Subject: [PATCH] reminder/comment in scheduler --- src/fiber.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/fiber.cpp b/src/fiber.cpp index 1f1991a5..7125b6b0 100644 --- a/src/fiber.cpp +++ b/src/fiber.cpp @@ -27,6 +27,7 @@ fiber::start_() { void fiber::join() { + // FIXME: must fiber::join() be synchronized? if ( context::active()->get_id() == get_id() ) { throw fiber_resource_error( static_cast< int >( std::errc::resource_deadlock_would_occur), "boost fiber: trying to join itself");