XBT_LOG_NEW_DEFAULT_SUBCATEGORY(msg_process, msg, "Logging specific to MSG (process)");
-extern "C" {
-
/** @addtogroup m_process_management
*
* Processes (#msg_process_t) are independent agents that can do stuff on their own. They are in charge of executing
xbt_free(argv);
return res;
}
-}
msg_process_t MSG_process_create_from_stdfunc(const char* name, std::function<void()> code, void* data, msg_host_t host,
std::map<std::string, std::string>* properties)
return process->ciface();
}
-extern "C" {
-
/* Become a process in the simulation
*
* Currently this can only be called by the main thread (once) and only work with some thread factories
{
intrusive_ptr_release(process);
}
-}