Where is _Thread_Get_executing() defined?
martin.galvan at tallertechnologies.com
Tue Jun 17 13:57:03 UTC 2014
Found it right after I hit Send. Thanks a lot!
On Tue, Jun 17, 2014 at 10:55 AM, Gedare Bloom <gedare at rtems.org> wrote:
> Anything named _Capital_lowercase is usually in cpukit/score. From
> there, grep should help,
> 620:RTEMS_INLINE_ROUTINE Thread_Control *_Thread_Get_executing( void )
> You can access _Thread_Executing directly only if in a critical section
> On Tue, Jun 17, 2014 at 9:44 AM, Martin Galvan
> <martin.galvan at tallertechnologies.com> wrote:
> > While inspecting the code of rtems_stack_checker_is_blown I noticed at
> > point it calls _Thread_Get_executing(). I couldn't find that function
> > defined anywhere, where is it?
> > The reason I wanted to see how's defined is because _Thread_Handler()
> > _Thread_Executing directly instead of calling _Thread_Get_executing().
> > What's the difference between the two, and when should each be used?
> > Thanks a lot!
> > _______________________________________________
> > users mailing list
> > users at rtems.org
> > http://lists.rtems.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the users