This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Are values of OS_TID deterministic?

Is there a rule governing generation of RTX task ids OS_TID? It would be interesting to know:

a. if they are incremented sequentially, and
b. if there is a max value for OS_TID

I am writing a lib which will cache some data in a buffer. That lib can be called from multiple tasks at the same time, so I want to keep separate buffers for each task. If OS_TID is deterministic then it will be a good differentiator for the per-task buffers.

Any other suggestions are welcome too.

Thanks