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.
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to