aboutsummaryrefslogtreecommitdiff
path: root/src/multiprocessing.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/multiprocessing.c')
-rw-r--r--src/multiprocessing.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/multiprocessing.c b/src/multiprocessing.c
index baa6df7..2a1b350 100644
--- a/src/multiprocessing.c
+++ b/src/multiprocessing.c
@@ -1,6 +1,6 @@
#include "core.h"
-/// The sum of all tasks queued by mp_task()
+/// The sum of all tasks started by mp_task()
size_t mp_global_task_count = 0;
static struct MultiProcessingTask *mp_pool_next_available(struct MultiProcessingPool *pool) {
@@ -59,7 +59,7 @@ int child(struct MultiProcessingPool *pool, struct MultiProcessingTask *task) {
}
int parent(struct MultiProcessingPool *pool, struct MultiProcessingTask *task, pid_t pid, int *child_status) {
- printf("[%s:%s] Task queued (pid: %d)\n", pool->ident, task->ident, pid);
+ printf("[%s:%s] Task started (pid: %d)\n", pool->ident, task->ident, pid);
// Give the child process access to our PID value
task->pid = pid;