python-on-a-chip online compiler

Dependencies:   mbed TSI

Embed: (wiki syntax)

« Back to documentation index

thread.c File Reference

thread.c File Reference

VM Thread. More...

Go to the source code of this file.

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.c.


Function Documentation

PmReturn_t thread_new ( pPmObj_t  pframe,
pPmObj_t r_pobj 
)

Constructs a thread for a root frame.

Parameters:
pframeFrame object as a basis for this thread.
r_pobjReturn by reference; Ptr to the newly created thread object.
Returns:
Return status

Definition at line 25 of file thread.c.