X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/98236eba13100727f2421d07b097cf84416ef74e..39c935d6d5ee86d153f6f7e6a10d723ae7c57f6f:/src/kernel/context/ContextThread.hpp diff --git a/src/kernel/context/ContextThread.hpp b/src/kernel/context/ContextThread.hpp index 259aef0b7e..70f7adbaa0 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-2021. 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