This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SYSBIOS: Is Task_Object_next Task_Object_first thread safe?

Part Number: SYSBIOS

Tool/software:

Dear all,

I wonder if the Task_Object_next and Task_Object_first calls are secured.
We use the calls to output a list of all tasks with statistics on a console.

What happens if new tasks are created and deleted while iterating through the tasks? For example, if an NDK daemon creates a new task for an incoming TCP connection.

If it is not save, can Task hook function for create/delete be used to build an own list of tasks for the console dump?
If so, are the handles given to the hook functions still valid for delete()? Can I use Task_Handle_name() and Task_stat() to read some SYSBIOS internals?

BR,
Bernhard