ProtoCore v1.0.16
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
WorkersVars Struct Reference

#include <worker.h>

Public Attributes

int worker_id
 the worker every call names
 
protocore_worker_pump_fn pump
 what a started worker runs each time it wakes
 
WorkerDeferArgs defer_args
 the call handed to a worker to run in its own context
 
proto_bool ok
 

Detailed Description

Definition at line 163 of file worker.h.

Member Data Documentation

◆ worker_id

int WorkersVars::worker_id

the worker every call names

Definition at line 165 of file worker.h.

◆ pump

protocore_worker_pump_fn WorkersVars::pump

what a started worker runs each time it wakes

Definition at line 166 of file worker.h.

◆ defer_args

WorkerDeferArgs WorkersVars::defer_args

the call handed to a worker to run in its own context

Definition at line 167 of file worker.h.

◆ ok

proto_bool WorkersVars::ok

Definition at line 168 of file worker.h.


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