diff options
Diffstat (limited to 'thread.h')
-rw-r--r-- | thread.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -48,7 +48,9 @@ class Thread { // frame->lr = thread exit handler sp->pc = (uint32_t)func; sp->psr = 0x01000000; - + } + + void start() { next = active_thread->next; active_thread->next = this; } |