MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / lwp_pgid_get_byprocess

Function lwp_pgid_get_byprocess

components/lwp/lwp.h:299–302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

297}
298
299rt_inline pid_t lwp_pgid_get_byprocess(rt_lwp_t process)
300{
301 return process ? process->pgid : 0;
302}
303rt_processgroup_t lwp_pgrp_find(pid_t pgid);
304void lwp_pgrp_dec_ref(rt_processgroup_t pgrp);
305rt_processgroup_t lwp_pgrp_find_and_inc_ref(pid_t pgid);

Callers 8

lwp_freeFunction · 0.85
_waitq_filterFunction · 0.85
lwp_waitpidFunction · 0.85
sys_killFunction · 0.85
_sys_forkFunction · 0.85
lwp_pgrp_findFunction · 0.85
lwp_pgrp_moveFunction · 0.85
sys_getpgidFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected