ssm  0.0.2
Runtime Library for the Sparse Synchronous Model
ssm_act Struct Reference

Activation record for an SSM routine. More...

#include <ssm.h>

+ Collaboration diagram for ssm_act:

Data Fields

ssm_stepf_tstep
 C function for running this continuation. More...
 
struct ssm_actcaller
 Activation record of caller. More...
 
uint16_t pc
 Stored "program counter" for the function. More...
 
uint16_t children
 Number of running child threads. More...
 
ssm_priority_t priority
 Execution priority; lower goes first. More...
 
ssm_depth_t depth
 Index of the LSB in our priority. More...
 
bool scheduled
 True when in the schedule queue. More...
 

Detailed Description

Activation record for an SSM routine.

Routine activation record "base class." A struct for a particular routine must start with this type but then may be followed by routine-specific fields.

Definition at line 125 of file ssm.h.

Field Documentation

◆ step

ssm_stepf_t* step

C function for running this continuation.

Definition at line 126 of file ssm.h.

◆ caller

struct ssm_act* caller

Activation record of caller.

Definition at line 127 of file ssm.h.

◆ pc

uint16_t pc

Stored "program counter" for the function.

Definition at line 128 of file ssm.h.

◆ children

uint16_t children

Number of running child threads.

Definition at line 129 of file ssm.h.

◆ priority

ssm_priority_t priority

Execution priority; lower goes first.

Definition at line 130 of file ssm.h.

◆ depth

ssm_depth_t depth

Index of the LSB in our priority.

Definition at line 131 of file ssm.h.

◆ scheduled

bool scheduled

True when in the schedule queue.

Definition at line 132 of file ssm.h.


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