Yes, it is. It also takes away the modularity of different parts of an operating system. Thanks for the help.
On Fri, Aug 21, 2020 at 4:40 PM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 21/08/2020 13:06, Richi Dubey wrote: > > > I understand what you're saying. Accessing the chain of scheduled node > > to figure out which node is scheduled on which processor is a more > > formal and safer way to do it than directly accessing a cpu's variable. > The difference is a bit more than just safer. Using the per-processor > variables in the scheduler code is simply wrong. >
_______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel