#include "ek.h"
#include "mtarch.h"
#include "mt.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Defines | |
| #define | MT_OK |
| No error. | |
| #define | MTP(thread, proc, name) |
| Declare a thread. | |
Functions | |
| void | mtarch_init (void) |
| Initialize the architecture specific support functions for the multi-thread library. | |
| void | mtarch_remove (void) |
| Uninstall library and clean up. | |
| void | mtarch_start (struct mtarch_thread *thread, void(*function)(void *data), void *data) |
| Setup the stack frame for a thread that is being started. | |
| void | mtarch_yield (void) |
| Yield the processor. | |
| void | mtarch_exec (struct mtarch_thread *thread) |
| Start executing a thread. | |
| 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) |
| Start executing a thread. | |
| void | mt_exec_event (struct mt_thread *thread, ek_event_t s, ek_data_t data) |
| Post an event to a thread. | |
| void | mt_yield (void) |
| Voluntarily give up the processor. | |
| void | mt_post (ek_id_t id, ek_event_t s, ek_data_t data) |
| Emit a signal to another process. | |
| void | mt_wait (ek_event_t *s, ek_data_t *data) |
| Block and wait for an event to occur. | |
| void | mt_exit (void) |
| Exit a thread. | |
| void | mtp_start (struct mtp_thread *t, void(*function)(void *), void *data) |
| Start a thread. | |
1.3.6