I am using mqx 3.5 (MCF52259),
I want to suspend a thread using shell command .
Can anyone tell me how to do??
for example, set an event or semaphore. the task would poll the event/semaphore in a while(1) loop and call _task_block() in response to it. alternatively you can use task queue to suspend/resume tasks (_taskq_suspend_task(), _taskq_resume()).
Wow that is very old version of MQX. Please note latest download (http://www.freescale.com/mqx) is MQX4.0.2.GA.
In your MQX3.5\docs\mqx\MQXUG.pdf please review information on the following:
2.6.7 Task Queues
In addition to providing a scheduling mechanism, task queues provide a simple and efficient way to
synchronize tasks. You can suspend tasks in the task queue and remove them from the task queue.
Retrieving data ...