Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
msg_private.h is a C++ header so add pp
authorFrederic Suter <frederic.suter@cc.in2p3.fr>
Fri, 2 Sep 2016 15:53:53 +0000 (17:53 +0200)
committerFrederic Suter <frederic.suter@cc.in2p3.fr>
Fri, 2 Sep 2016 15:53:53 +0000 (17:53 +0200)
26 files changed:
src/msg/instr_msg_process.cpp
src/msg/instr_msg_task.cpp
src/msg/instr_msg_vm.cpp
src/msg/msg_actions.cpp
src/msg/msg_deployment.cpp
src/msg/msg_environment.cpp
src/msg/msg_global.cpp
src/msg/msg_gos.cpp
src/msg/msg_host.cpp
src/msg/msg_io.cpp
src/msg/msg_mailbox.cpp
src/msg/msg_private.hpp [moved from src/msg/msg_private.h with 100% similarity]
src/msg/msg_process.cpp
src/msg/msg_synchro.cpp
src/msg/msg_task.cpp
src/msg/msg_vm.cpp
src/s4u/s4u_activity.cpp
src/s4u/s4u_actor.cpp
src/s4u/s4u_comm.cpp
src/s4u/s4u_file.cpp
src/s4u/s4u_host.cpp
src/s4u/s4u_mailbox.cpp
src/s4u/s4u_mutex.cpp
src/simix/ActorImpl.cpp
src/smpi/smpi_global.cpp
tools/cmake/DefinePackages.cmake

index bcdb775..d2d6be0 100644 (file)
@@ -4,8 +4,8 @@
 /* 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. */
 
+#include "msg_private.hpp"
 #include "src/simix/ActorImpl.hpp"
-#include "msg_private.h"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY (instr_msg_process, instr, "MSG process");
 
index c450a22..a6f655b 100644 (file)
@@ -5,8 +5,8 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "src/instr/instr_private.h"
-#include "msg_private.h"
 #include "mc/mc.h"
+#include "msg_private.hpp"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY (instr_msg, instr, "MSG");
 
index 995a22d..2c9478e 100644 (file)
@@ -4,7 +4,7 @@
 /* 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. */
 
-#include "msg_private.h"
+#include "msg_private.hpp"
 
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY (instr_msg_vm, instr, "MSG VM");
index 85f009f..461b7cb 100644 (file)
@@ -4,11 +4,11 @@
 /* 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. */
 
-#include "msg_private.h"
 #include "xbt/dynar.h"
 #include "xbt/replay.h"
 
 #include <errno.h>
+#include "msg_private.hpp"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(msg_action, msg, "MSG actions for trace driven simulation");
 
index 015d748..6f09557 100644 (file)
@@ -4,9 +4,9 @@
 /* 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. */
 
-#include "msg_private.h"
 #include "xbt/sysdep.h"
 #include "xbt/log.h"
+#include "msg_private.hpp"
 
 /** \ingroup msg_simulation
  * \brief An application deployer.
index 5e29b97..bd0ec18 100644 (file)
@@ -4,12 +4,12 @@
 /* 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. */
 
-#include "msg_private.h"
 #include "xbt/sysdep.h"
 #include "xbt/log.h"
 
 #include "simgrid/s4u/As.hpp"
 #include "simgrid/s4u/engine.hpp"
+#include "msg_private.hpp"
 
 #if HAVE_LUA
 #include <lua.h>
index 9a95300..f787cc0 100644 (file)
@@ -8,10 +8,11 @@
 
 #include "simgrid/msg.h"
 #include "instr/instr_interface.h"
-#include "msg_private.h"
 #include "mc/mc.h"
 #include "xbt/sysdep.h"
 #include "xbt/log.h"
+
+#include "msg_private.hpp"
 #include "simgrid/sg_config.h" /* Configuration mechanism of SimGrid */
 #include "src/surf/xml/platf_private.hpp" // FIXME: KILLME by removing MSG_post_create_environment()
 
index 295ba5f..865aa3e 100644 (file)
@@ -6,10 +6,10 @@
 #include <xbt/ex.hpp>
 
 #include "src/simix/smx_private.h" /* MSG_task_listen looks inside the rdv directly. Not clean. */
-#include "msg_private.h"
 #include "mc/mc.h"
 #include "xbt/log.h"
 #include "xbt/sysdep.h"
+#include "msg_private.hpp"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(msg_gos, msg, "Logging specific to MSG (gos)");
 
index 6a56a66..c1af957 100644 (file)
@@ -4,11 +4,11 @@
 /* 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. */
 
-#include "src/msg/msg_private.h"
 #include "xbt/sysdep.h"
 #include "xbt/log.h"
 #include "simgrid/simix.h"
 #include <simgrid/s4u/host.hpp>
+#include "msg_private.hpp"
 
 XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(msg);
 
index 510ac65..6e99bcf 100644 (file)
@@ -6,8 +6,8 @@
 
 #include <simgrid/s4u/host.hpp>
 
-#include "msg_private.h"
 #include "xbt/log.h"
+#include "msg_private.hpp"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(msg_io, msg, "Logging specific to MSG (io)");
 
index 2186710..8b09b2e 100644 (file)
@@ -9,8 +9,9 @@
 #include <xbt/ex.hpp>
 
 #include "simgrid/msg.h"
-#include "msg_private.h"
 #include "simgrid/s4u/Actor.hpp"
+
+#include "msg_private.hpp"
 #include "simgrid/s4u/Mailbox.hpp"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(msg_mailbox, msg, "Logging specific to MSG (mailbox)");
index 17b02ef..ada529c 100644 (file)
@@ -6,10 +6,11 @@
 
 #include <functional>
 
-#include "msg_private.h"
 #include "xbt/sysdep.h"
 #include "xbt/log.h"
 #include "xbt/functional.hpp"
+
+#include "msg_private.hpp"
 #include "src/simix/ActorImpl.hpp"
 #include "src/simix/smx_private.h"
 
index fa46da9..4c00c9c 100644 (file)
@@ -6,10 +6,10 @@
 
 #include <xbt/ex.hpp>
 
-#include "msg_private.h"
 #include "xbt/sysdep.h"
 #include "xbt/synchro_core.h"
 #include "xbt/log.h"
+#include "msg_private.hpp"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(msg_synchro, msg, "Logging specific to MSG (synchro)");
 
index a8b0c6b..1e8986f 100644 (file)
@@ -3,10 +3,10 @@
 /* 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. */
 
-#include "msg_private.h"
 #include "src/simix/smx_private.h"
 #include "xbt/sysdep.h"
 #include "xbt/log.h"
+#include "msg_private.hpp"
 
 /** @addtogroup m_task_management
  *
index 2198f6d..1879dd2 100644 (file)
 
 #include <simgrid/s4u/host.hpp>
 
-#include "msg_private.h"
 #include "xbt/sysdep.h"
 #include "xbt/log.h"
 #include "simgrid/host.h"
+#include "msg_private.hpp"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(msg_vm, msg, "Cloud-oriented parts of the MSG API");
 
index 4568abb..12343db 100644 (file)
@@ -5,9 +5,8 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "xbt/log.h"
-#include "src/msg/msg_private.h"
-
 #include "simgrid/s4u/Activity.hpp"
+#include "../msg/msg_private.hpp"
 
 XBT_LOG_EXTERNAL_CATEGORY(s4u);
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(s4u_activity,s4u,"S4U activities");
index 1b46b96..c239a29 100644 (file)
@@ -5,11 +5,11 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "xbt/log.h"
-#include "src/msg/msg_private.h"
-
 #include "simgrid/s4u/Actor.hpp"
 #include "simgrid/s4u/comm.hpp"
 #include "simgrid/s4u/host.hpp"
+
+#include "../msg/msg_private.hpp"
 #include "simgrid/s4u/Mailbox.hpp"
 
 #include "src/kernel/context/Context.hpp"
index 3d6be86..6d051ec 100644 (file)
@@ -5,10 +5,9 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "xbt/log.h"
-#include "src/msg/msg_private.h"
-
 #include "simgrid/s4u/comm.hpp"
 #include <simgrid/s4u/Mailbox.hpp>
+#include "../msg/msg_private.hpp"
 
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(s4u_comm,s4u_activity,"S4U asynchronous communications");
index 7512efb..3256e27 100644 (file)
@@ -4,11 +4,11 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "xbt/log.h"
-#include "src/msg/msg_private.h"
-
 #include "simgrid/s4u/Actor.hpp"
 #include "simgrid/s4u/comm.hpp"
 #include "simgrid/s4u/host.hpp"
+
+#include "../msg/msg_private.hpp"
 #include "simgrid/s4u/Mailbox.hpp"
 
 XBT_LOG_NEW_DEFAULT_CATEGORY(s4u_file,"S4U files");
index d38b8e0..9af3032 100644 (file)
 #include "simgrid/simix.hpp"
 #include "src/surf/HostImpl.hpp"
 #include "xbt/log.h"
-#include "src/msg/msg_private.h"
 #include "src/simix/ActorImpl.hpp"
 #include "src/simix/smx_private.h"
 #include "src/surf/cpu_interface.hpp"
 #include "simgrid/s4u/host.hpp"
 #include "simgrid/s4u/storage.hpp"
+#include "../msg/msg_private.hpp"
 
 int MSG_HOST_LEVEL = -1;
 int USER_HOST_LEVEL = -1;
index c23d735..90233b5 100644 (file)
@@ -5,7 +5,8 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "xbt/log.h"
-#include "src/msg/msg_private.h"
+
+#include "../msg/msg_private.hpp"
 #include "src/simix/ActorImpl.hpp"
 #include "src/simix/smx_network_private.h"
 #include "simgrid/s4u/Mailbox.hpp"
index 4f2cce6..20d87d9 100644 (file)
@@ -5,10 +5,10 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "xbt/log.h"
-#include "src/msg/msg_private.h"
 #include "src/simix/smx_synchro_private.h"
 
 #include "simgrid/s4u/Mutex.hpp"
+#include "../msg/msg_private.hpp"
 
 namespace simgrid {
 namespace s4u {
index d283b1e..6aaab5e 100644 (file)
 #include <simgrid/s4u/host.hpp>
 
 #include <mc/mc.h>
+#include "../msg/msg_private.hpp"
 
 #include "src/surf/surf_interface.hpp"
 #include "smx_private.h"
 #include "src/mc/mc_replay.h"
 #include "src/mc/Client.hpp"
-#include "src/msg/msg_private.h"
 #include "src/kernel/activity/SynchroSleep.hpp"
 #include "src/kernel/activity/SynchroRaw.hpp"
 #include "src/kernel/activity/SynchroIo.hpp"
index 5429977..560bce2 100644 (file)
@@ -14,7 +14,6 @@
 #include "src/simix/smx_private.h"
 #include "simgrid/sg_config.h"
 #include "src/mc/mc_replay.h"
-#include "src/msg/msg_private.h"
 #include "src/kernel/activity/SynchroComm.hpp"
 
 #include <float.h> /* DBL_MAX */
@@ -25,6 +24,7 @@
 #include <stdlib.h>
 #include <string>
 #include <vector>
+#include "../msg/msg_private.hpp"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_kernel, smpi, "Logging specific to SMPI (kernel)");
 #include <boost/tokenizer.hpp>
index ba6c3c0..11a7f08 100644 (file)
@@ -14,7 +14,7 @@ set(EXTRA_DIST
   src/include/surf/datatypes.h
   src/include/surf/maxmin.h
   src/include/surf/surf.h
-  src/msg/msg_private.h
+  src/msg/msg_private.hpp
   src/simdag/dax.dtd
   src/simdag/dax_dtd.c
   src/simdag/dax_dtd.h