Had to change sched.c because code would not compile with myjoin