Realtime multitask monitor for mruby/c. More...
#include "vm.h"Go to the source code of this file.
Data Structures | |
| struct | RTcb |
| Task control block. More... | |
| struct | RMutex |
| Mutex. More... | |
Macros | |
| #define | MRBC_TASK_NAME_LEN 15 |
| #define | MRBC_MUTEX_INITIALIZER { 0 } |
Typedefs | |
| typedef struct RTcb | mrbc_tcb |
| Task control block. | |
| typedef struct RMutex | mrbc_mutex |
| Mutex. | |
Enumerations | |
| enum | MrbcTaskState { TASKSTATE_DORMANT = 0x00 , TASKSTATE_READY = 0x02 , TASKSTATE_RUNNING = 0x03 , TASKSTATE_WAITING = 0x04 , TASKSTATE_SUSPENDED = 0x08 } |
| Task state. More... | |
| enum | MrbcTaskReason { TASKREASON_SLEEP = 0x01 , TASKREASON_MUTEX = 0x02 , TASKREASON_JOIN = 0x04 } |
Variables | |
| static const int | MRBC_TASK_DEFAULT_PRIORITY = 128 |
| static const int | MRBC_TASK_DEFAULT_STATE = TASKSTATE_READY |
Realtime multitask monitor for mruby/c.
Copyright (C) 2015- Kyushu Institute of Technology. Copyright (C) 2015- Shimane IT Open-Innovation Center. This file is distributed under BSD 3-Clause License.
Definition in file rrt0.h.
| typedef struct RMutex mrbc_mutex |
Mutex.
| enum MrbcTaskReason |
| enum MrbcTaskState |
|
static |