Lines Matching refs:thread_args
539 DrdPosixThreadArgs thread_args;
544 thread_args.start = start;
545 thread_args.arg = arg;
546 thread_args.wrapper_started = &wrapper_started;
552 thread_args.detachstate = PTHREAD_CREATE_JOINABLE;
555 if (pthread_attr_getdetachstate(attr, &thread_args.detachstate) != 0)
558 assert(thread_args.detachstate == PTHREAD_CREATE_JOINABLE
559 || thread_args.detachstate == PTHREAD_CREATE_DETACHED);
562 CALL_FN_W_WWWW(ret, fn, thread, attr, DRD_(thread_wrapper), &thread_args);
595 DrdPosixThreadArgs thread_args;
600 thread_args.start = start;
601 thread_args.arg = arg;
602 thread_args.wrapper_started = &wrapper_started;
608 thread_args.detachstate = PTHREAD_CREATE_DETACHED;
610 thread_args.detachstate = PTHREAD_CREATE_JOINABLE;
613 CALL_FN_W_6W(ret, fn, stk, stksize, DRD_(thread_wrapper), &thread_args,