Lines Matching refs:attr
424 pthread_attr_t attr; in TEST() local
425 pthread_attr_init(&attr); in TEST()
426 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); in TEST()
429 ASSERT_TRUE(pthread_create(&thread, &attr, PtraceThreadLevelRun, nullptr) == 0); in TEST()
495 pthread_attr_t attr; in TEST() local
496 pthread_attr_init(&attr); in TEST()
497 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); in TEST()
501 ASSERT_TRUE(pthread_create(&thread, &attr, ThreadLevelRun, &thread_data) == 0); in TEST()
544 pthread_attr_t attr; in TEST() local
545 pthread_attr_init(&attr); in TEST()
546 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); in TEST()
550 ASSERT_TRUE(pthread_create(&thread, &attr, ThreadLevelRun, &thread_data) == 0); in TEST()
582 pthread_attr_t attr; in TEST() local
583 pthread_attr_init(&attr); in TEST()
584 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); in TEST()
588 ASSERT_TRUE(pthread_create(&thread, &attr, ThreadMaxRun, &thread_data) == 0); in TEST()
625 pthread_attr_t attr; in TEST() local
626 pthread_attr_init(&attr); in TEST()
627 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); in TEST()
632 ASSERT_TRUE(pthread_create(&runners[i].threadId, &attr, ThreadMaxRun, &runners[i]) == 0); in TEST()
649 ASSERT_TRUE(pthread_create(&dumpers[i].thread.threadId, &attr, ThreadDump, &dumpers[i]) == 0); in TEST()
670 pthread_attr_t attr; in TEST() local
671 pthread_attr_init(&attr); in TEST()
672 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); in TEST()
676 ASSERT_TRUE(pthread_create(&runner.threadId, &attr, ThreadMaxRun, &runner) == 0); in TEST()
692 ASSERT_TRUE(pthread_create(&dumpers[i].thread.threadId, &attr, ThreadDump, &dumpers[i]) == 0); in TEST()
991 pthread_attr_t attr; in TEST() local
992 pthread_attr_init(&attr); in TEST()
993 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); in TEST()
996 ASSERT_TRUE(pthread_create(&thread, &attr, ThreadReadTest, &thread_data) == 0); in TEST()