Home
last modified time | relevance | path

Searched refs:childpids (Results 1 – 1 of 1) sorted by relevance

/external/ltp/testcases/kernel/controllers/cpuset/cpuset_load_balance_test/
Dcpuset_cpu_hog.c251 pid_t *childpids = NULL; in main() local
269 childpids = malloc((nprocs) * sizeof(pid_t)); in main()
270 if (childpids == NULL) { in main()
275 memset(childpids, 0, (nprocs) * sizeof(pid_t)); in main()
283 kill(childpids[i], SIGKILL); in main()
291 childpids[i] = pid; in main()
304 kill(childpids[i], SIGUSR2); in main()
309 kill(childpids[i], SIGUSR1); in main()
319 free(childpids); in main()