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.

RTOS/TMS320F28069: Why are there extra semaphore events shown in RTOS Analyzer Execution Graph?

Part Number: TMS320F28069

Tool/software: TI-RTOS

I experiment TI-RTOS (SYS/BIOS v6.0.0.21, UIA v2.20.0.02) in CCS v7.4.

My application posts a semaphore from SWI, and ConvertTemp task pends on it. Why there are extra semaphore post and pend events shown in the circle? Please advise.

  • Hi Louis,

    Internally the kernel may be using a semaphore (or a gate that calls a semaphore) for thread safety reasons. For example, Memory_alloc (or malloc) will use a semaphore for mutual exclusion.

    You can correlate the execution graph with the Live Session view and see the handle of the Semaphore being used. Unfortunately the actual semaphore may not be in ROV->Semaphore since many of the internal semaphores are constructed (instead of created) and therefore not show up in ROV.

    Todd

  • Thanks for the explanation!