process = xbt_new0(s_smx_process_t, 1);
/* Process data */
- process->name = (char *)"maestro";
+ process->name = (char *)"";
/*Create the right context type (FIXME: check the return value for success)*/
SIMIX_context_create_maestro(&process);
/* Set it as the maestro process */
simix_global->maestro_process = process;
simix_global->current_process = process;
-
+
return;
}
-/**
+/**
* \brief Creates and runs a new #smx_process_t.
*
* A constructor for #m_process_t taking four arguments and returning the corresponding object. The structure (and the corresponding thread) is created, and put in the list of ready process.
void *SIMIX_process_get_data(smx_process_t process)
{
xbt_assert0((process != NULL), "Invalid parameters");
-
return (process->data);
}
*/
int SIMIX_process_is_suspended(smx_process_t process)
{
- xbt_assert0(((process != NULL), "Invalid parameters");
+ xbt_assert0((process != NULL), "Invalid parameters");
return (process->suspended);
}