diff options
Diffstat (limited to 'runtime/wti.h')
-rw-r--r-- | runtime/wti.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/wti.h b/runtime/wti.h index 014251f0..bb4f56bc 100644 --- a/runtime/wti.h +++ b/runtime/wti.h @@ -28,6 +28,11 @@ #include "batch.h" +typedef struct actWrkrInfo { + action_t *pAction; + void *actWrkrData; +} actWrkrInfo_t; + /* the worker thread instance class */ struct wti_s { BEGINobjInstance; @@ -37,6 +42,7 @@ struct wti_s { wtp_t *pWtp; /* my worker thread pool (important if only the work thread instance is passed! */ batch_t batch; /* pointer to an object array meaningful for current user pointer (e.g. queue pUsr data elemt) */ uchar *pszDbgHdr; /* header string for debug messages */ + actWrkrInfo_t *actWrkrInfo; /* *array* of action wrkr infos for all actions (sized for max nbr of actions in config!) */ DEF_ATOMIC_HELPER_MUT(mutIsRunning); }; |