[PATCH] set TASK_RUNNING in yield()
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.
Showing
Please register or sign in to comment