Other Parts Discussed in Thread: SYSBIOS
Tool/software: TI-RTOS
Hi,
Let's say I have 2 threads, Thread 1 and Thread 2 and one HWI.
Thread 1 is performing mqtt client task along with http client. Now I need to use some simplelink api's in order (sl_start -> delay -> accessing file system -> sl_stop -> PRCMMCUReset) whenever an HWI occurs.
For that I'm using Message Queues. When an interrupt is triggered I'm writing a message to a Queue from an ISR and Receiving the messages from Thread 2 and will perform the Above mentioned APIs..
Now I want to know how to stop or disable a specific thread (Thread 1 in this case) from Thread 2 or ISR.
Any help is appreciated.
Regards,
Keshav