iPXE
Data Fields
process_descriptor Struct Reference

A process descriptor. More...

#include <process.h>

Data Fields

const char * name
 Process name. More...
 
size_t offset
 Offset of process within containing object. More...
 
void(* step )(void *object)
 Single-step the process. More...
 
int reschedule
 Automatically reschedule the process. More...
 

Detailed Description

A process descriptor.

Definition at line 31 of file process.h.

Field Documentation

◆ name

const char* process_descriptor::name

Process name.

Definition at line 33 of file process.h.

◆ offset

size_t process_descriptor::offset

Offset of process within containing object.

Definition at line 35 of file process.h.

Referenced by process_object().

◆ step

void( * process_descriptor::step) (void *object)

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.

Definition at line 43 of file process.h.

◆ reschedule

int process_descriptor::reschedule

Automatically reschedule the process.

Definition at line 45 of file process.h.


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