This was touched on during an old thread about retrieving the process name.
I see that there is a facility for a Task Tag API to be added to a task, however it seems more efficient to have an API call to retrieve the parameters value from the running task’s TCB. With this I could place a pointer to a housekeeping structure within the otherwise unused parameter location during task creation.
I could make one for myself based on the name retrieval, but I think it would be a reasonable addition to the API.
In my case, I’m using FreeRTOS as a foreman for a group of networked modules allowing multiple simultaneous jobs and a command-line user interface.