mu: implement the asap scheduler function.