Quick question: How do I get the name of the scheduler from _Scheduler_Control

Richi Dubey richidubey at gmail.com
Thu Aug 13 19:09:59 UTC 2020


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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200814/ad2ecb73/attachment.html>


More information about the devel mailing list