Spaces:
Sleeping
Sleeping
Ticket Name: RTOS/TDA2: [Vlib in vision sdk]. Is Vlib function thread safe ? | |
Query Text: | |
Part Number: TDA2 Tool/software: TI-RTOS Hi Ti, I am currently use Vlib with links-chain concept in the latest rtos vision SDK for TI TDA2X (2 dsp core). I have used vlib's connected component function and it works fine. Now i plane to use this function to multiple 'link'(thread) on 2 dsp cores. (2 links on 2 dsp core each. total 4 links) Problem is, this function does not work correctly when I use it with multiple link with 2 dsp cores. (It works fine if I use just one link on one dsp core.) All the memories for each connected component functions are allocated in inside of link, and, I checked that the memories not invaded each other. They have a different address. But It seems that the results of each functions are mixed. Have Vlib function tested with multiple link? Is it thread safe ? | |
Responses: | |
No, VLIB is not thread-safe and was not designed or tested as such. This may explain the issue you are seeing. | |
Thank you Jesse. | |