Quick question: How do I get the name of the scheduler from _Scheduler_Control
Richi Dubey
richidubey at gmail.com
Fri Aug 14 09:14:10 UTC 2020
Got it, thank you.
On Fri, Aug 14, 2020 at 1:02 AM Gedare Bloom <gedare at rtems.org> wrote:
> cpukit/include/rtems/rtems/support.h:RTEMS_INLINE_ROUTINE void
> rtems_name_to_characters(
>
> On Thu, Aug 13, 2020 at 1:15 PM Richi Dubey <richidubey at gmail.com> wrote:
> >
> > Hi,
> >
> > It's hard to find this with the help of cscope and I would appreciate
> your help in this.
> >
> > Is there a way to print the 'name' in :
> > --------------------------------------------------------------
> > struct _Scheduler_Control {
> > /**
> > * @brief Reference to a statically allocated scheduler context.
> > */
> > Scheduler_Context *context;
> >
> > /**
> > * @brief The scheduler operations.
> > */
> > Scheduler_Operations Operations;
> >
> > /**
> > * @brief The maximum priority value of this scheduler.
> > *
> > * It defines the lowest (least important) thread priority for this
> > * scheduler. For example the idle threads have this priority.
> > */
> > Priority_Control maximum_priority;
> >
> > /**
> > * @brief The scheduler name.
> > */
> > uint32_t name;
> > ----------------------------------------------------------------------
> >
> > as a string? Is there a function that maps this int to string?
> >
> >
> > _______________________________________________
> > devel mailing list
> > devel at rtems.org
> > http://lists.rtems.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200814/6cbc7726/attachment-0001.html>
More information about the devel
mailing list