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

Function group_bind

sched/group/group_join.c:64–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62 ****************************************************************************/
63
64void group_bind(FAR struct tcb_s *tcb)
65{
66 FAR struct tcb_s *ptcb = this_task();
67
68 DEBUGASSERT(ptcb && tcb && ptcb->group && !tcb->group);
69
70 /* Copy the group reference from the parent to the child */
71
72 tcb->group = ptcb->group;
73}
74
75/****************************************************************************
76 * Name: group_join

Callers 1

nx_pthread_createFunction · 0.85

Calls 1

this_taskFunction · 0.85

Tested by

no test coverage detected