diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-09-13 13:36:09 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-09-18 23:07:12 -0400 |
commit | 17d3d0517123f5f07b4ac6bb9f1dec73c1c8ce4c (patch) | |
tree | d5317f2cb8c3c13f831fb37d1cd28d7d56c45bac /include | |
parent | 4e0e40bf54f68a98b2cfbb419c8d1cbabf7986ba (diff) | |
download | stasis-17d3d0517123f5f07b4ac6bb9f1dec73c1c8ce4c.tar.gz |
Fix sem_open initial state
* Move slot->gate assignment to mp_pool_task()
* Remove mmap() to slot->gate.
* Change type of ident and log_root variables for the sake of easy (fewer maps)
Diffstat (limited to 'include')
-rw-r--r-- | include/multiprocessing.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/multiprocessing.h b/include/multiprocessing.h index 648bd80..f0e6e5c 100644 --- a/include/multiprocessing.h +++ b/include/multiprocessing.h @@ -24,8 +24,8 @@ struct MultiProcessingPool { struct MultiProcessingTask *task; ///< Array of tasks to execute size_t num_used; ///< Number of tasks populated in the task array size_t num_alloc; ///< Number of tasks allocated by the task array - const char *ident; ///< Identity of task pool - const char *log_root; ///< Base directory to store stderr/stdout log files + char ident[255]; ///< Identity of task pool + char log_root[PATH_MAX]; ///< Base directory to store stderr/stdout log files }; ///!< Maximum number of multiprocessing tasks STASIS can execute |