Update cooperative_scheduler.c