ssm
Runtime Library for the Sparse Synchronous Model
Data Fields
ssm_act Struct Reference

Activation record for an SSM routine. More...

#include <ssm.h>

Collaboration diagram for ssm_act:
Collaboration graph
[legend]

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. See SSM_ACT_FIELDS

Field Documentation

◆ caller

struct ssm_act* caller

Activation record of caller.

◆ children

uint16_t children

Number of running child threads.

◆ depth

ssm_depth_t depth

Index of the LSB in our priority.

◆ pc

uint16_t pc

Stored "program counter" for the function.

◆ priority

ssm_priority_t priority

Execution priority; lower goes first.

◆ scheduled

bool scheduled

True when in the schedule queue.

◆ step

ssm_stepf_t* step

C function for running this continuation.


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