Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of pymite by
interp.c File Reference
VM Interpreter. More...
Go to the source code of this file.
Functions | |
| PmReturn_t | interpret (const uint8_t returnOnNoThreads) |
| Interprets the available threads. | |
| PmReturn_t | interp_reschedule (void) |
| Selects a thread to run and changes the VM internal variables to let the switch-loop execute the chosen one in the next iteration. | |
| 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. | |
| void | interp_setRescheduleFlag (uint8_t boolean) |
| Sets the reschedule flag. | |
Detailed Description
VM Interpreter.
VM interpreter operations.
Definition in file interp.c.
Function Documentation
| 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.
- Parameters:
-
pfunc Ptr to function to be executed as a thread.
- Returns:
- Return status
| PmReturn_t interp_reschedule | ( | void | ) |
| void interp_setRescheduleFlag | ( | uint8_t | boolean ) |
| PmReturn_t interpret | ( | const uint8_t | returnOnNoThreads ) |
Generated on Tue Jul 12 2022 21:25:47 by
1.7.2
