Searched refs:lwpcount (Results 1 – 2 of 2) sorted by relevance
86 int lwpcount = 0; in stop() local88 (void) Plwp_iter_all(P, (proc_lwp_all_f *)lwpstop, &lwpcount); in stop()89 if (lwpcount == 0) { in stop()93 } else if (lwpcount == -1) in stop()111 lwpstop(int *lwpcount, const lwpstatus_t *status, const lwpsinfo_t *info) in lwpstop() argument126 if (*lwpcount >= 0) in lwpstop()127 (*lwpcount)++; in lwpstop()132 *lwpcount = -1; in lwpstop()
115 int lwpcount = 0; in start() local118 (void) Plwp_iter_all(P, (proc_lwp_all_f *)lwpstart, &lwpcount); in start()120 if (lwpcount == 0) { in start()124 } else if (lwpcount == -1) in start()140 lwpstart(int *lwpcount, const lwpstatus_t *status, const lwpsinfo_t *info) in lwpstart() argument155 if (*lwpcount >= 0) in lwpstart()156 (*lwpcount)++; in lwpstart()161 *lwpcount = -1; in lwpstart()