Searched refs:childPid (Results 1 – 2 of 2) sorted by relevance
/kernel/liteos_a/testsuites/unittest/basic/mem/shm/full/ |
D | shm_test_009.cpp | 75 static void KillChildren(int childPid) in KillChildren() argument 77 kill(childPid, SIGTERM); in KillChildren() 83 int childPid, oldcount, newcount, shmid; in Testcase() local 118 childPid = fork(); in Testcase() 119 ICUNIT_GOTO_NOT_EQUAL(childPid, -1, childPid, OUT_SCHEDULER); in Testcase() 121 if (childPid == 0) { in Testcase() 129 ret = sched_setparam(childPid, ¶m); in Testcase() 138 KillChildren(childPid); in Testcase() 139 pid = waitpid(childPid, NULL, 0); in Testcase() 140 ICUNIT_ASSERT_EQUAL(pid, childPid, pid); in Testcase()
|
/kernel/liteos_a/kernel/base/core/ |
D | los_process.c | 252 STATIC UINT32 OsFindChildProcess(const LosProcessCB *processCB, INT32 childPid) in OsFindChildProcess() argument 256 if (childPid < 0) { in OsFindChildProcess() 261 if (childCB->processID == childPid) { in OsFindChildProcess() 267 …PRINT_INFO("%s is find the child : %d failed in parent : %u\n", __FUNCTION__, childPid, processCB-… in OsFindChildProcess() 271 STATIC LosProcessCB *OsFindExitChildProcess(const LosProcessCB *processCB, INT32 childPid) in OsFindExitChildProcess() argument 276 if ((childPid == OS_INVALID_VALUE) || (exitChild->processID == childPid)) { in OsFindExitChildProcess() 281 …PRINT_INFO("%s is find the exit child : %d failed in parent : %u\n", __FUNCTION__, childPid, proce… in OsFindExitChildProcess()
|