Hi:
I want to kill a thread which is in not in the idle state,how can i to do this?
CyU3PThreadDestroy
I have tried,but this function can kill a thread only the thread is in idle state,i want to kill it while this thread is runing.
You have to call the CyU3PThreadRelinquish to bring it to ready state and then call the CyU3PThreadDestroy from another thread.
Regards,
-Madhu Sudhan