thread.c File Reference

VM Thread. More...

#include "pm.h"

Defines

#define __FILE_ID__   0x16

Functions

PmReturn_t thread_new (pPmObj_t pframe, pPmObj_t *r_pobj)


Detailed Description

VM Thread.

Encapsulating a frame pointer, a root code object and thread state.


Function Documentation

PmReturn_t thread_new ( pPmObj_t  pframe,
pPmObj_t r_pobj 
)

Constructs a thread for a root frame.

Parameters:
pframe Frame object as a basis for this thread.
r_obj Addr to th newly created thread object.
Returns:
Return status


Generated on Wed Feb 24 13:37:03 2010 for Python-on-a-chip by  doxygen 1.5.9