#include "pm.h"
Go to the source code of this file.
Defines | |
#define | __FILE_ID__ 0x09 |
Functions | |
PmReturn_t | interpret (const uint8_t returnOnNoThreads) |
PmReturn_t | interp_reschedule (void) |
PmReturn_t | interp_addThread (pPmFunc_t pfunc) |
void | interp_setRescheduleFlag (uint8_t boolean) |
VM interpreter operations.
Definition in file interp.c.
PmReturn_t interp_addThread | ( | pPmFunc_t | pfunc | ) |
Creates a thread object and adds it to the queue of threads to be executed while interpret() is running.
The given obj may be a function, module, or class. Creates a frame for the given function.
pfunc | Ptr to function to be executed as a thread. |
PmReturn_t interp_reschedule | ( | void | ) |
void interp_setRescheduleFlag | ( | uint8_t | boolean | ) |
PmReturn_t interpret | ( | const uint8_t | returnOnNoThreads | ) |