diff --git a/m-worker.h b/m-worker.h index 95df78fa..ba29f1bb 100644 --- a/m-worker.h +++ b/m-worker.h @@ -458,16 +458,16 @@ m_worker_count(m_worker_t g) #define M_WORKER_SPAWN(_block, _input, _core, _output) \ M_WORK3R_DEF_DATA(_input, _output) \ M_WORK3R_DEF_SUBBLOCK(_input, _output, _core) \ - worker_spawn_block ((_block), M_WORK3R_SPAWN_SUBFUNC_NAME, &M_WORK3R_SPAWN_DATA_NAME) + m_work3r_spawn_block ((_block), M_WORK3R_SPAWN_SUBFUNC_NAME, &M_WORK3R_SPAWN_DATA_NAME) #elif M_USE_WORKER_CPP_FUNCTION // TODO: Explicit pass all arguments by reference. #define M_WORKER_SPAWN(_block, _input, _core, _output) \ - worker_spawn_function ((_block), [&](void *param) {(void)param ; _core } , NULL) + m_work3r_spawn_function ((_block), [&](void *param) {(void)param ; _core } , NULL) #else #define M_WORKER_SPAWN(_block, _input, _core, _output) \ M_WORK3R_DEF_DATA(_input, _output) \ M_WORK3R_DEF_SUBFUNC(_input, _output, _core) \ - worker_spawn ((_block), M_WORK3R_SPAWN_SUBFUNC_NAME, &M_WORK3R_SPAWN_DATA_NAME) + m_worker_spawn ((_block), M_WORK3R_SPAWN_SUBFUNC_NAME, &M_WORK3R_SPAWN_DATA_NAME) #endif #define M_WORK3R_SPAWN_STRUCT_NAME M_C(m_work3r_data_s_, __LINE__)