Searched refs:thread_attributes (Results 1 – 2 of 2) sorted by relevance
86 pthread_attr_t thread_attributes; in main() local87 pthread_attr_init(&thread_attributes); in main()88 pthread_attr_setdetachstate(&thread_attributes, PTHREAD_CREATE_DETACHED); in main()90 pthread_create(&threads[i], &thread_attributes, &thread_function, &pipefd); in main()
287 pthread_attr_t thread_attributes; in CreateThreadsInChildProcess() local288 if (pthread_attr_init(&thread_attributes) != 0 || in CreateThreadsInChildProcess()289 pthread_attr_setdetachstate(&thread_attributes, in CreateThreadsInChildProcess()304 if (pthread_create(&thread_data[i].thread, &thread_attributes, in CreateThreadsInChildProcess()318 pthread_attr_destroy(&thread_attributes); in CreateThreadsInChildProcess()