From 34a2820c90fb88cf048650855b66ddfd654512c1 Mon Sep 17 00:00:00 2001 From: Peter Conrad Date: Thu, 27 Sep 2018 17:28:45 +0200 Subject: [PATCH] Added warning --- include/fc/thread/parallel.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/fc/thread/parallel.hpp b/include/fc/thread/parallel.hpp index eebfaeb..3425b85 100644 --- a/include/fc/thread/parallel.hpp +++ b/include/fc/thread/parallel.hpp @@ -27,6 +27,10 @@ #include #include +/* NOTE: the methods in this header are NOT to be mixed up with fc's + * multithreading. Parallel functions MUST NOT call fc::thread::yield NOR + * use fc's mutexes etc.! + */ namespace fc { namespace detail {