libutils: scheduler, several input queues, overwrite of fn_sched