Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RT-Thread/rt-thread
/ _get_parent_pid
Function
_get_parent_pid
components/lwp/lwp_runtime.c:134–137 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
132
}
133
134
static int _get_parent_pid(struct rt_lwp *lwp)
135
{
136
return lwp->parent ? lwp->parent->pid : 0;
137
}
138
139
/* reverse operation of lwp_startup() */
140
sysret_t lwp_teardown(struct rt_lwp *lwp, void (*cb)(void))
Callers
1
lwp_teardown
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected