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 | |
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')
-rw-r--r-- | include/delivery.h | 2 | ||||
-rw-r--r-- | include/multiprocessing.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/include/delivery.h b/include/delivery.h index bd5137c..345cd13 100644 --- a/include/delivery.h +++ b/include/delivery.h @@ -385,7 +385,7 @@ void delivery_install_conda(char *install_script, char *conda_install_dir); int delivery_format_str(struct Delivery *ctx, char **dest, const char *fmt); // helper function -void delivery_gather_tool_versions(struct Delivery *ctx); +int delivery_gather_tool_versions(struct Delivery *ctx); // helper function int delivery_init_tmpdir(struct Delivery *ctx); 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 |