Santhosh Kumar M [CEC-S] wrote:
>
> Hi,
>
> In pthread_suspend_np function, why are we not calling
> rtl_schedule function. This is done in rt_task_suspend function.
>
> Basically i want to know why is pthread_suspend_np not suspending the task
> immediately.
>
> Thanks and Regards
> Santhosh
Hi Santhosh,
In some recent test code, I found that you had to call rtl_schedule()
after the pthread_suspend_np to get the task/thread to actually go into
suspension. I suspect this is a bug.
Regards, Stuart