Skip to content
Snippets Groups Projects
Unverified Commit 4c3e92f1 authored by Marian Buschsieweke's avatar Marian Buschsieweke
Browse files

core: Made thread state an enum

- Introduced enum type `thread_state_t` to replace preprocessor macros
- Moved thread states to `sched.h` for two reasons:
  a) Because of the interdependencies of `sched.h` and `thread.h` keeping it in
     `thread.h` would result in ugly code.
  b) Theses thread states are defined from the schedulers point of view, so it
     actually makes senses to have it defined there
parent f8a7c026
Branches
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment