RainbowBS Manual: process_struct Struct Reference

RainbowBS

RainbowBS Manual  v0.1.0
Written by QWQ([email protected])
process_struct Struct Reference

Process structure(one process consists one protothread). More...

#include <RainbowBS.h>

Collaboration diagram for process_struct:
Collaboration graph

Public Member Functions

 PT_THREAD ((*thread)(struct pt *, process_event_t, process_data_t))
 

Data Fields

struct process_structnext
 
const char * name
 
struct pt pt
 
U8 state
 
BOOL needspoll
 

Detailed Description

Note
application code should not change any member of the process structure for they are maintained by system inside.

Field Documentation

const char* name

process name string

BOOL needspoll

indicate if a process has high privilege to be called,

See also
process_poll()
struct process_struct* next

pointer to the next process,all processes are in a process list

U8 state

indicate process state


The documentation for this struct was generated from the following file:
Generated by   doxygen 1.8.9.1