Searched refs:state (Results 1 – 4 of 4) sorted by relevance
24 __pthread_setcancelstate (int state, int *oldstate) in __pthread_setcancelstate() argument28 if (state < PTHREAD_CANCEL_ENABLE || state > PTHREAD_CANCEL_DISABLE) in __pthread_setcancelstate()35 self->cancelstate = state; in __pthread_setcancelstate()
105 static error_t parse_opt (int key, char *arg, struct argp_state *state);160 unsigned int state = (unsigned long int) arg; in work() local169 rnum = rand_r (&state); in work()281 unsigned int state = starts; in start_threads() local305 (void *) (long) (rand_r (&state) + starts + i)); in start_threads()522 parse_opt (int key, char *arg, struct argp_state *state) in parse_opt() argument
137 int state; in verify_detach_result() local139 RETURN_IF_FAIL (pthread_attr_getdetachstate, attr, &state); in verify_detach_result()141 if (state != PTHREAD_CREATE_DETACHED) in verify_detach_result()
22 - sem_post should only wake one thread and only when the state of
Completed in 6 milliseconds