threadx icon indicating copy to clipboard operation
threadx copied to clipboard

Calling threadX APIs while interrupts are disabled

Open ashwinmalaviya opened this issue 11 months ago • 9 comments

We would like to understand what could be issue if we call below APIs when global intrupts are disabled.

tx_semaphore_get() //with infinite timeout tx_event_flags_info_get and tx_event_flags_set tx_event_flags_get()/ with infinite timeout

as far as I know, other RTOS do not allow the same(they don't allow the OS calls when interrupts are disabled) but in threadx I don't find any documentation which talks about calling threadx when Int are disabled

it would be good if someone from the community provide any guidance.

thanks a lot..!!

ashwinmalaviya avatar Feb 11 '25 17:02 ashwinmalaviya