MCPcopy Create free account
hub / github.com/apache/nuttx / nxtask_inherit_affinity

Function nxtask_inherit_affinity

sched/task/task_setup.c:227–231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

225
226#ifdef CONFIG_SMP
227static inline void nxtask_inherit_affinity(FAR struct tcb_s *tcb)
228{
229 FAR struct tcb_s *rtcb = this_task();
230 tcb->affinity = rtcb->affinity;
231}
232#else
233# define nxtask_inherit_affinity(tcb)
234#endif

Callers 1

nxthread_setup_schedulerFunction · 0.85

Calls 1

this_taskFunction · 0.85

Tested by

no test coverage detected