aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-09-26 09:58:47 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-09-26 09:58:47 -0400
commit25cb7df692786c0802dd67f5e32edf77fe344e5c (patch)
tree9c37b4404b5030a7b0aa67b96fedfa924ddccc97
parent34aaf0e2bbf47e712a0b55fa3f94387b466f314b (diff)
downloadstasis-25cb7df692786c0802dd67f5e32edf77fe344e5c.tar.gz
Do not fork immediately after a task is created
-rw-r--r--src/multiprocessing.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/multiprocessing.c b/src/multiprocessing.c
index cd48c6f..2b77059 100644
--- a/src/multiprocessing.c
+++ b/src/multiprocessing.c
@@ -140,10 +140,6 @@ struct MultiProcessingTask *mp_pool_task(struct MultiProcessingPool *pool, const
fclose(tp);
- // Execute task
- if (mp_task_fork(pool, slot, cmd)) {
- return NULL;
- }
return slot;
}