process Struct Reference

A process. More...

#include <process.h>


Data Fields

struct list_head list
 List of processes.
void(* step )(struct process *process)
 Single-step the process.
struct refcntrefcnt
 Reference counter.


Detailed Description

A process.

Definition at line 17 of file process.h.


Field Documentation

struct list_head process::list [read]

List of processes.

Definition at line 19 of file process.h.

Referenced by process_add(), process_del(), and step().

void( * process::step)(struct process *process)

Single-step the process.

This method should execute a single step of the process. Returning from this method is isomorphic to yielding the CPU to another process.

Referenced by step().

struct refcnt* process::refcnt [read]

Reference counter.

If this interface is not part of a reference-counted object, this field may be NULL.

Definition at line 33 of file process.h.

Referenced by process_add(), and process_del().


The documentation for this struct was generated from the following file:

Generated on Tue Apr 6 20:02:07 2010 for gPXE by  doxygen 1.5.7.1