Fix calling _sched_yield().