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.

some questions about TI link API

1. should there be any lock protection before we use the linkIds.
what happens if two threads simultaneously uses to send data to link SYSTEM_HOST_LINK_ID_IPC_BITS_IN_0?
or if two threads simultaneously uses SYSTEM_LINK_ID_VDEC_0?
2. Before stopping the links, i would like to know that there are no data that is being processed through the links.
How do i know if the links i have setup have processed all the data and i can stop the links?
3. What is the meaning of the suffixes "_0" and "_1" of the links? The document says they are different instances of the links. what
does that mean?
4. Is there any way i can signal the end of frame input to the links?

  • 1. should there be any lock protection before we use the linkIds.
    what happens if two threads simultaneously uses to send data to link SYSTEM_HOST_LINK_ID_IPC_BITS_IN_0?or if two threads simultaneously uses SYSTEM_LINK_ID_VDEC_0?

    => There is locking mechanism available internally. This is possible.


    2. Before stopping the links, i would like to know that there are no data that is being processed through the links.
    How do i know if the links i have setup have processed all the data and i can stop the links?

    => No need to wait for data flush, its handled internally.


    3. What is the meaning of the suffixes "_0" and "_1" of the links? The document says they are different instances of the links. what
    does that mean?

    => Instances refer to different tasks handling the similar functionality.


    4. Is there any way i can signal the end of frame input to the links?

    => No support available, you can disable few of the links or stop them