sched: add a new thread state, prestarted
It may be that a thread that is initialized early is also started early. We need to somehow mark that thread as already started, so we can start it for real later when the scheduler is ready to go. We will do this by adding an extra state, prestarted. Later on, we will take action to start those threads properly. Signed-off-by:Glauber Costa <glommer@cloudius-systems.com> Reviewed-by:
Pekka Enberg <penberg@cloudius-systems.com> Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
Please register or sign in to comment