<div dir="ltr">Thanks.<div><br></div><div>So for the code:</div><div>--------------------------------------------------------------------------------------------------<br></div><div> for (i = 0; i < CPU_COUNT; ++i) {<br> const Per_CPU_Control *c;<br> const Thread_Control *h;<br><br> c = _Per_CPU_Get_by_index(CPU_COUNT - 1 - i);<br> h = c->heir;<br><br> sc = rtems_task_suspend(h->Object.id);<br> rtems_test_assert(sc == RTEMS_SUCCESSFUL);<br> }<br></div><div>--------------------------------------------------------------------------------------------------</div><div> would it have the same effect if we replace all this by :</div><div><br></div><div> for (i = CPU_COUNT -1 ; i >=0 ; --i) {<br> sc = rtems_task_suspend(ctx->task_ids[i]);<br> rtems_test_assert(sc == RTEMS_SUCCESSFUL);<br> }<br></div><div>--------------------------------------------------------------------------------------------------<br></div><div><br></div><div>Please let me know.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Aug 4, 2020 at 7:17 PM Sebastian Huber <<a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 04/08/2020 14:25, Richi Dubey wrote:<br>
<br>
> This helps. Thank you.<br>
If things are still unclear, don't hesitate to ask again. Your questions <br>
are really helpful to improve the documentation.<br>
<br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote></div>