• Andrew Morton's avatar
    [PATCH] set TASK_RUNNING in yield() · b5b6fa52
    Andrew Morton authored
    It seems that the yield() macro requires state TASK_RUNNING, but
    practically none of the callers remember to do that.
    
    The patch turns yield() into a real function which sets state
    TASK_RUNNING before scheduling.
    b5b6fa52
e100.h 36.7 KB