diff options
author | Joseph Hunkeler <jhunkeler@users.noreply.github.com> | 2024-10-22 11:04:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-22 11:04:17 -0400 |
commit | 7729d546d2dbda85ca1d86a913e97b51487355ba (patch) | |
tree | e9a0e7f9f2069ecd9e718dd66d3e11fa7a80722d /include/multiprocessing.h | |
parent | 8edc87d51900ccf7d1d67ad3647a4b8fa2d9b7ae (diff) | |
parent | 30f48145d1a1c747c40f94e2a7314d4bdf61cf55 (diff) | |
download | stasis-7729d546d2dbda85ca1d86a913e97b51487355ba.tar.gz |
Merge pull request #63 from jhunkeler/update-tests
Update tests / Bug fixes
Diffstat (limited to 'include/multiprocessing.h')
-rw-r--r-- | include/multiprocessing.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/multiprocessing.h b/include/multiprocessing.h index 5919462..ec7c1ad 100644 --- a/include/multiprocessing.h +++ b/include/multiprocessing.h @@ -38,6 +38,9 @@ struct MultiProcessingPool { int status_interval; ///< Report a pooled task is "running" every n seconds }; +/// A multiprocessing task's initial state (i.e. "FAIL") +#define MP_POOL_TASK_STATUS_INITIAL (-1) + /// Maximum number of multiprocessing tasks STASIS can execute #define MP_POOL_TASK_MAX 1000 |