• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include "thread.h"
2 
3 struct 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 
11 struct thread *__current = &__root_thread;
12