1#include "thread.h" 2 3struct thread __root_thread = { 4 .thread_magic = THREAD_MAGIC, 5 .name = "root", 6 .list = { .next = &__root_thread.list, .prev = &__root_thread.list }, 7 .blocked = NULL, 8 .prio = 0, 9}; 10 11struct thread *__current = &__root_thread; 12