Contiki 2.6
|
Implementation of the archtecture agnostic parts of the preemptive multithreading library for Contiki. More...
#include "contiki.h"
#include "sys/mt.h"
#include "sys/cc.h"
Go to the source code of this file.
Functions | |
void | mt_init (void) |
Initializes the multithreading library. | |
void | mt_remove (void) |
Uninstalls library and cleans up. | |
void | mt_start (struct mt_thread *thread, void(*function)(void *), void *data) |
Starts a multithreading thread. | |
void | mt_exec (struct mt_thread *thread) |
Execute parts of a thread. | |
void | mt_yield (void) |
Voluntarily give up the processor. | |
void | mt_exit (void) |
Exit a thread. | |
void | mt_stop (struct mt_thread *thread) |
Stop a thread. |
Implementation of the archtecture agnostic parts of the preemptive multithreading library for Contiki.
Definition in file mt.c.