X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7b0e03ac48be8e014d877060fbd385201b1b896f..094fd23340ee7224c18cfeea09af018f963eb618:/src/kernel/context/ContextThread.hpp diff --git a/src/kernel/context/ContextThread.hpp b/src/kernel/context/ContextThread.hpp index 259aef0b7e..a5e74f505b 100644 --- a/src/kernel/context/ContextThread.hpp +++ b/src/kernel/context/ContextThread.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2009-2019. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2009-2020. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -24,7 +24,7 @@ public: ThreadContext(const ThreadContext&) = delete; ThreadContext& operator=(const ThreadContext&) = delete; ~ThreadContext() override; - void stop() override; + XBT_ATTRIB_NORETURN void stop() override; void suspend() override; void attach_start() override; void attach_stop() override; @@ -103,8 +103,6 @@ public: } private: - bool parallel_; - ThreadContext* create_context(std::function&& code, actor::ActorImpl* actor, bool maestro); }; } // namespace context