Searched refs:pids (Results 1 - 2 of 2) sorted by relevance
/darwin-on-arm/xnu/tools/tests/libMicro/apple/ |
H A D | lmbench_lat_ctx.c | 95 pid_t* pids; member in struct:__anon1361 104 int create_daemons(int **p, pid_t *pids, int procs, int process_size); 280 create_daemons(int **p, pid_t *pids, int procs, int process_size) argument 293 switch (pids[i] = fork()) { 347 pState->pids = NULL; 393 for (i = 1; pState->pids && i < pState->procs; ++i) { 394 if (pState->pids[i] > 0) { 395 kill(pState->pids[i], SIGKILL); 396 waitpid(pState->pids[i], NULL, 0); 399 if (pState->pids) [all...] |
/darwin-on-arm/xnu/tools/tests/libMicro/ |
H A D | libmicro.c | 168 static pid_t *pids = NULL; variable 374 pids = (pid_t *)malloc(lm_optP * sizeof (pid_t)); 375 if (pids == NULL) { 376 perror("malloc(pids)"); 429 pids[i] = fork(); 431 switch (pids[i]) { 448 if (pids[i] > 0) { 449 (void) waitpid(pids[i], NULL, 0);
|
Completed in 13 milliseconds