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

Function nxtask_start_fork

sched/task/task_fork.c:312–328  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

310 ****************************************************************************/
311
312pid_t nxtask_start_fork(FAR struct tcb_s *child)
313{
314 pid_t pid;
315
316 sinfo("Starting Child TCB=%p\n", child);
317 DEBUGASSERT(child);
318
319 /* Get the assigned pid before we start the task */
320
321 pid = child->pid;
322
323 /* Activate the task */
324
325 nxtask_activate(child);
326
327 return pid;
328}
329
330/****************************************************************************
331 * Name: nxtask_abort_fork

Callers 7

sim_forkFunction · 0.85
riscv_forkFunction · 0.85
mips_forkFunction · 0.85
ceva_forkFunction · 0.85
arm64_forkFunction · 0.85
arm_forkFunction · 0.85
x86_64_forkFunction · 0.85

Calls 1

nxtask_activateFunction · 0.85

Tested by

no test coverage detected