ast_scheduler
ast_register(TDA_SCHED, ASTR_ASTF_REQUIRED, 0, ast_scheduler);
ast_scheduler(td, tda);
void ast_scheduler(struct thread *td, int tda);