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.
thread.h File Reference
VM Thread. More...
Go to the source code of this file.
Data Structures | |
struct | PmThread_s |
Thread obj. More... | |
Typedefs | |
typedef enum PmInterpCtrl_e | PmInterpCtrl_t |
Interpreter return values. | |
typedef struct PmThread_s | PmThread_t |
Thread obj. | |
Enumerations | |
enum | PmInterpCtrl_e { INTERP_CTRL_ERR = -1, INTERP_CTRL_EXIT = 0, INTERP_CTRL_CONT = 1, INTERP_CTRL_RESCHED = 2 } |
Interpreter return values. More... | |
Functions | |
PmReturn_t | thread_new (pPmObj_t pframe, pPmObj_t *r_pobj) |
Constructs a thread for a root frame. |
Detailed Description
VM Thread.
Encapsulating a frame pointer, a root code object and thread state.
Definition in file thread.h.
Typedef Documentation
typedef enum PmInterpCtrl_e PmInterpCtrl_t |
Interpreter return values.
Used to control interpreter loop and indicate return value. Negative values indicate erroneous results. Positive values indicate "continue interpreting", but first do something special like reschedule threads or (TBD) sweep the heap.
typedef struct PmThread_s PmThread_t |
Thread obj.
Enumeration Type Documentation
enum PmInterpCtrl_e |
Interpreter return values.
Used to control interpreter loop and indicate return value. Negative values indicate erroneous results. Positive values indicate "continue interpreting", but first do something special like reschedule threads or (TBD) sweep the heap.
Function Documentation
PmReturn_t thread_new | ( | pPmObj_t | pframe, |
pPmObj_t * | r_pobj | ||
) |
Generated on Tue Jul 12 2022 17:07:02 by
