int os_sched_wakeup(struct os_task *t)
Called to make task ready to run. If task is sleeping, it is woken up.
Returns 0 on success.