Main Page   Class Hierarchy   Compound List   File List   Header Files   Compound Members   File Members  

legOS/include/tm.h File Reference

Header file for task management. More...


Compounds

struct  _pchain_t
struct  _pdata_t

Defines

#define PRIO_LOWEST
#define PRIO_NORMAL
#define PRIO_HIGHEST
#define P_DEAD
dead and gone, stack freed.

#define P_ZOMBIE
terminated, cleanup pending.

#define P_WAITING
waiting for an event.

#define P_SLEEPING
sleeping. wants to run.

#define P_RUNNING
running.

#define DEFAULT_STACK_SIZE
that's enough.


Typedefs

typedef unsigned char pstate_t
process state type.

typedef unsigned char priority_t
process priority type.

typedef unsigned long wakeup_t
wakeup data area type.

typedef struct _pchain_t pchain_t
priority chain data type. More...

typedef struct _pdata_t pdata_t
process data type. More...

typedef size_t pid_t
process id type. More...


Detailed Description

Header file for task management.

Author(s):
Markus L. Noga <markus@noga.de>

Defines types and flags used in task management.

Define Documentation

#define PRIO_LOWEST ()

#define PRIO_NORMAL ()

#define PRIO_HIGHEST ()

#define P_DEAD ()

dead and gone, stack freed.

#define P_ZOMBIE ()

terminated, cleanup pending.

#define P_WAITING ()

waiting for an event.

#define P_SLEEPING ()

sleeping. wants to run.

#define P_RUNNING ()

running.

#define DEFAULT_STACK_SIZE ()

that's enough.


Typedef Documentation

typedef unsigned char pstate_t

process state type.

typedef unsigned char priority_t

process priority type.

typedef unsigned long wakeup_t

wakeup data area type.

typedef struct _pchain_t pchain_t

priority chain data type.

a shorthand

typedef struct _pdata_t pdata_t

process data type.

a shorthand

typedef size_t pid_t

process id type.

In effect, the kernel simply typecasts *pdata_t to pid_t.

legOS-0.2.4 is released under the Mozilla Public License. Original code copyright 1998-1999 by the authors.