Delaying, scheduling, and timer routines