X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/012e8850b96760b97bee7f40ce87b4093866153e..872e6c960cfd42bfbb748574c0cf88693d0730a5:/src/msg/task.c?ds=sidebyside diff --git a/src/msg/task.c b/src/msg/task.c index af973f05ec..007160c03a 100644 --- a/src/msg/task.c +++ b/src/msg/task.c @@ -48,9 +48,11 @@ m_task_t MSG_task_create(const char *name, long double compute_duration, simdata->sleeping = xbt_dynar_new(sizeof(m_process_t),NULL); simdata->computation_amount = compute_duration; simdata->message_size = message_size; + simdata->rate = -1.0; simdata->using = 1; simdata->sender = NULL; + return task; }