real time scheduler skeleton