I'm using MQX 126.96.36.199 RTCS_ping() on FRDM-K64F.
I created a PING task using RTCS_ping() to regularly check the network.
And I know it will block the PING task while await ICMP echo reply.
Now the situation is,
After RTCS_ping() be executed, while awaiting ICMP echo reply before the TIMEOUT expires,
in some cases, PING task needs to be restart using _task_restart() by the MAIN task.
Although the return value of _task_restart() is MQX_OK,
in fact, PING task doesn't work after 'restart'.
Does anyone know how to stop the wait of ICMP echo reply before the TIMEOUT expires?