/******************************* 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;
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()
{