Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
don't eat the errno of when dlopen fails (but still remove the copied binary)
[simgrid.git] / src / simdag / simdag_private.hpp
index 0795a55..b5e52f0 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2006-2015. The SimGrid Team.
+/* Copyright (c) 2006-2017. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -12,7 +12,7 @@
 
 #ifndef SIMDAG_PRIVATE_HPP
 #define SIMDAG_PRIVATE_HPP
-#if HAVE_JEDULE
+#if SIMGRID_HAVE_JEDULE
 #include "simgrid/jedule/jedule_sd_binding.h"
 #endif
 
@@ -21,6 +21,7 @@ namespace sd{
 class Global {
 public:
   explicit Global();
+  Global(const Global&) = delete;
   ~Global();
   bool watch_point_reached;      /* has a task just reached a watch point? */
   std::set<SD_task_t> *initial_tasks;
@@ -40,7 +41,7 @@ extern XBT_PRIVATE simgrid::sd::Global *sd_global;
 typedef struct SD_task {
   e_SD_task_state_t state;
   void *data;                   /* user data */
-  std::string name;
+  char *name;
   e_SD_task_kind_t kind;
   double amount;
   double alpha;          /* used by typed parallel tasks */
@@ -68,6 +69,7 @@ typedef struct SD_task {
 XBT_PRIVATE void SD_task_set_state(SD_task_t task, e_SD_task_state_t new_state);
 XBT_PRIVATE void SD_task_run(SD_task_t task);
 XBT_PRIVATE bool acyclic_graph_detail(xbt_dynar_t dag);
+XBT_PRIVATE void uniq_transfer_task_name(SD_task_t task);
 XBT_PRIVATE const char *__get_state_name(e_SD_task_state_t state);
 SG_END_DECL()
 #endif