Doubt in importance of SCHEDULER_PRIORITY_APPEND

Richi Dubey richidubey at gmail.com
Mon Jan 18 06:30:23 UTC 2021


Hi,

Can someone please explain to me why we add 1 to the priority
in SCHEDULER_PRIORITY_APPEND?

/**
 * @brief Returns the priority control with the append indicator bit set.
 */
#define SCHEDULER_PRIORITY_APPEND( priority )  \
  ( ( priority ) | SCHEDULER_PRIORITY_APPEND_FLAG )

What's the reason behind doing this and what do we achieve by this?

Thanks,
Richi.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20210118/083bcb19/attachment.html>


More information about the devel mailing list