/* Schedule 954 of 2025/01/30 13:17:54 */ #include "driver.h" #include "schedule.h" #include schedule_t make_schedule() { schedule_t sched; int nthread = 3; sched.kind = PQUEUE; sched.num_ops = 2; sched.nthread = nthread; sched.npreAdd = 0; sched.preAdds = NULL; sched.nstep = 4; sched.nsteps = malloc(nthread*sizeof(int)); sched.nsteps[0] = 2; sched.nsteps[1] = 1; sched.nsteps[2] = 1; sched.steps = malloc(nthread*sizeof(step_t*)); for (int i=0; i