diff options
| author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-09-27 10:00:43 -0400 | 
|---|---|---|
| committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-09-27 10:00:43 -0400 | 
| commit | b2cf2c2acbdda61a510b6cf36f07d14375163887 (patch) | |
| tree | 97896ef4bdaa9557d345f16d8fb20b870b6d2c59 /src | |
| parent | c59871a5018927836af991799022c2831cdccb5d (diff) | |
| download | stasis-b2cf2c2acbdda61a510b6cf36f07d14375163887.tar.gz | |
Move log_file path assignment into the child
Diffstat (limited to 'src')
| -rw-r--r-- | src/multiprocessing.c | 2 | 
1 files changed, 0 insertions, 2 deletions
| diff --git a/src/multiprocessing.c b/src/multiprocessing.c index 1bd9ec0..8677909 100644 --- a/src/multiprocessing.c +++ b/src/multiprocessing.c @@ -65,8 +65,6 @@ int parent(struct MultiProcessingPool *pool, struct MultiProcessingTask *task, p      task->pid = pid;      task->parent_pid = pid; -    // Set log file name -    sprintf(task->log_file + strlen(task->log_file), "task-%zu-%d.log", mp_global_task_count, task->parent_pid);      mp_global_task_count++;      // Check child's status | 
