diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-09-18 10:04:21 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-09-18 23:08:04 -0400 |
commit | 8b47235f7c81e04fa5efef492974509789f40273 (patch) | |
tree | 19dba6bed0ec155c18062dfa2a19789a87e4adcb /tests/test_multiprocessing.c | |
parent | 4efce32c6efcb98e3d4eda4886a75872aff6fff9 (diff) | |
download | stasis-8b47235f7c81e04fa5efef492974509789f40273.tar.gz |
Rename mp_task to mp_pool_task
Diffstat (limited to 'tests/test_multiprocessing.c')
-rw-r--r-- | tests/test_multiprocessing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_multiprocessing.c b/tests/test_multiprocessing.c index 67574e3..1b2c865 100644 --- a/tests/test_multiprocessing.c +++ b/tests/test_multiprocessing.c @@ -35,7 +35,7 @@ void test_mp_task() { struct MultiProcessingTask *task; char task_name[100] = {0}; sprintf(task_name, "mytask%zu", i); - STASIS_ASSERT_FATAL((task = mp_task(pool, task_name, commands[i])) != NULL, "Task should not be NULL"); + STASIS_ASSERT_FATAL((task = mp_pool_task(pool, task_name, commands[i])) != NULL, "Task should not be NULL"); STASIS_ASSERT(task->pid != 0, "PID should be non-zero at this point"); STASIS_ASSERT(task->parent_pid != MP_POOL_PID_UNUSED, "Parent PID should be non-zero"); STASIS_ASSERT(task->status == -1, "Status should be -1 (not started yet)"); |