diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/delivery.c | 4 | ||||
| -rw-r--r-- | src/multiprocessing.c | 2 | 
2 files changed, 3 insertions, 3 deletions
| diff --git a/src/delivery.c b/src/delivery.c index c31a4dd..aba266b 100644 --- a/src/delivery.c +++ b/src/delivery.c @@ -1819,7 +1819,7 @@ void delivery_tests_run(struct Delivery *ctx) {                  }                  sprintf(runner_cmd, runner_cmd_fmt, cmd); -                task = mp_task(pool, test->name, runner_cmd); +                task = mp_pool_task(pool, test->name, runner_cmd);                  if (!task) {                      SYSERROR("Failed to add task to %s pool: %s", pool_name, runner_cmd);                      popd(); @@ -1872,7 +1872,7 @@ void delivery_tests_run(struct Delivery *ctx) {                      char runner_cmd[0xFFFF] = {0};                      sprintf(runner_cmd, runner_cmd_fmt, cmd); -                    task = mp_task(pool, test->name, runner_cmd); +                    task = mp_pool_task(pool, test->name, runner_cmd);                      if (!task) {                          SYSERROR("Failed to add task %s to setup pool: %s", test->name, runner_cmd);                          popd(); diff --git a/src/multiprocessing.c b/src/multiprocessing.c index fce1a80..c784073 100644 --- a/src/multiprocessing.c +++ b/src/multiprocessing.c @@ -99,7 +99,7 @@ static int mp_task_fork(struct MultiProcessingPool *pool, struct MultiProcessing      return parent(pool, task, pid, &child_status);  } -struct MultiProcessingTask *mp_task(struct MultiProcessingPool *pool, const char *ident, char *cmd) { +struct MultiProcessingTask *mp_pool_task(struct MultiProcessingPool *pool, const char *ident, char *cmd) {      struct MultiProcessingTask *slot = mp_pool_next_available(pool);      if (pool->num_used != pool->num_alloc) {          pool->num_used++; | 
