<div dir="ltr">Found it right after I hit Send. Thanks a lot!<br><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 17, 2014 at 10:55 AM, Gedare Bloom <span dir="ltr"><<a href="mailto:gedare@rtems.org" target="_blank">gedare@rtems.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Anything named _Capital_lowercase is usually in cpukit/score. From<br>
there, grep should help,<br>
include/rtems/score/thread.h<br>
620:RTEMS_INLINE_ROUTINE Thread_Control *_Thread_Get_executing( void )<br>
<br>
You can access _Thread_Executing directly only if in a critical section<br>
<div><div class="h5"><br>
On Tue, Jun 17, 2014 at 9:44 AM, Martin Galvan<br>
<<a href="mailto:martin.galvan@tallertechnologies.com">martin.galvan@tallertechnologies.com</a>> wrote:<br>
> While inspecting the code of rtems_stack_checker_is_blown I noticed at one<br>
> point it calls _Thread_Get_executing(). I couldn't find that function<br>
> defined anywhere, where is it?<br>
><br>
> The reason I wanted to see how's defined is because _Thread_Handler() uses<br>
> _Thread_Executing directly instead of calling _Thread_Get_executing().<br>
> What's the difference between the two, and when should each be used?<br>
><br>
> Thanks a lot!<br>
><br>
</div></div>> _______________________________________________<br>
> users mailing list<br>
> <a href="mailto:users@rtems.org">users@rtems.org</a><br>
> <a href="http://lists.rtems.org/mailman/listinfo/users" target="_blank">http://lists.rtems.org/mailman/listinfo/users</a><br>
</blockquote></div></div></div></div>