diff --git a/platform/linux-generic/odp_thread.c b/platform/linux-generic/odp_thread.c index 2fa30f48873..88aec8f060f 100644 --- a/platform/linux-generic/odp_thread.c +++ b/platform/linux-generic/odp_thread.c @@ -272,6 +272,16 @@ int odp_thread_count_max(void) return thread_globals->num_max; } +int odp_thread_control_count_max(void) +{ + return thread_globals->num_max; +} + +int odp_thread_worker_count_max(void) +{ + return thread_globals->num_max; +} + int odp_thrmask_worker(odp_thrmask_t *mask) { odp_thrmask_copy(mask, &thread_globals->worker);