Need help in figuring out how a node gets its afffinity when it is created

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Aug 14 12:52:05 UTC 2020


On 14/08/2020 14:35, Richi Dubey wrote:

>     telling me earlier that by default a node/task/thread is allowed
>     to execute on all the processors?
>
> The thread's affinity is set to all processor when it gets initialized 
> : 
> https://git.rtems.org/rtems/tree/cpukit/score/src/threadinitialize.c#n217
Yes, this is the initialization value. The scheduler should initialize 
its node accordingly.


More information about the devel mailing list