Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
remove old simcall_comm_test and simcall_comm_testany
[simgrid.git] / src / kernel / context / ContextThread.cpp
index 2b8c1d1d153467e504066c7294c55d3bef439cdd..f7914a6fc9a875d5434448b525c81fd5242dcb00 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2009-2021. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2009-2022. 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. */
@@ -16,7 +16,7 @@
 #include <typeinfo>
 #include <utility>
 
-XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(simix_context);
+XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(ker_context);
 
 namespace simgrid {
 namespace kernel {
@@ -60,7 +60,7 @@ void ThreadContextFactory::run_all()
 // ThreadContext
 
 ThreadContext::ThreadContext(std::function<void()>&& code, actor::ActorImpl* actor, bool maestro)
-    : AttachContext(std::move(code), actor), is_maestro_(maestro)
+    : AttachContext(std::move(code), actormaestro)
 {
   /* If the user provided a function for the actor then use it */
   if (has_code()) {