diff --git a/src/scheduler.c b/src/scheduler.c index a4dd8292510abdd8124e3fdba597147866d74c45..e879a30eceaad0d93144cc348c649e376e24ea1b 100644 --- a/src/scheduler.c +++ b/src/scheduler.c @@ -441,6 +441,7 @@ struct task *scheduler_addtask ( struct scheduler *s , int type , int subtype , t->tight = tight; t->implicit = 0; t->weight = 0; + t->tic = 0; t->nr_unlock_tasks = 0; /* Init the lock. */