Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
please sonar
[simgrid.git] / src / msg / msg_private.h
index 3209072..b71ae37 100644 (file)
@@ -73,12 +73,14 @@ typedef struct simdata_file {
 
 /******************************* Process *************************************/
 
+namespace simgrid {
 class MsgActorExt {
 public:
   explicit MsgActorExt(void* d) : data(d) {}
   msg_error_t errno_ = MSG_OK;  /* the last value returned by a MSG_function */
   void* data = nullptr; /* user data */
 };
+}
 
 typedef struct process_arg {
   const char *name;
@@ -152,9 +154,9 @@ XBT_PRIVATE void TRACE_msg_process_sleep_out(msg_process_t process);
 
 SG_END_DECL()
 
-XBT_PUBLIC(msg_process_t) MSG_process_create_with_environment(
-  const char *name, std::function<void()> code, void *data,
-  msg_host_t host, xbt_dict_t properties);
+XBT_PUBLIC(msg_process_t)
+MSG_process_create_from_stdfunc(const char* name, std::function<void()> code, void* data, msg_host_t host,
+                                xbt_dict_t properties);
 
 inline void simdata_task::setUsed()
 {