aboutsummaryrefslogtreecommitdiffstats
path: root/core/thread/root_thread.c
blob: c5efd65b7e8f0d7a60d8ccfabbf26b650a9f1224 (plain)
1
2
3
4
5
6
7
8
9
#include "thread.h"

struct thread __root_thread = {
    .list = { .next = &__root_thread.list, .prev = &__root_thread.list },
    .blocked = NULL,
    .prio = 0,
};

struct thread *__current = &__root_thread;