From 87971633eea3306a0b85a55d7d581841b9dbf905 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Fri, 13 Sep 2024 10:10:21 -0400 Subject: Fixing headers --- include/multiprocessing.h | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'include/multiprocessing.h') diff --git a/include/multiprocessing.h b/include/multiprocessing.h index 6bcf18e..9e0c429 100644 --- a/include/multiprocessing.h +++ b/include/multiprocessing.h @@ -2,27 +2,20 @@ #ifndef STASIS_MULTIPROCESSING_H #define STASIS_MULTIPROCESSING_H -#include -#include +#include "core.h" #include -#include -#include -#include #include #include -#include #include -#include #include -#include struct MultiProcessingTask { sem_t *gate; ///< Child process startup lock pid_t pid; ///< Program PID pid_t parent_pid; ///< Program PID (parent process) int status; ///< Child process exit status - char ident[NAME_MAX]; ///< Identity of the pool task - char log_file[NAME_MAX]; ///< Path to stdout/stderr log file + char ident[255]; ///< Identity of the pool task + char log_file[255]; ///< Path to stdout/stderr log file char parent_script[PATH_MAX]; ///< Path to temporary script executing the task }; -- cgit