Searched refs:thread_attr (Results 1 – 2 of 2) sorted by relevance
49 pthread_attr_t thread_attr; in LaunchThread() local52 if (::pthread_attr_init(&thread_attr) == 0) { in LaunchThread()55 if (::pthread_attr_getstacksize(&thread_attr, in LaunchThread()58 if (::pthread_attr_setstacksize(&thread_attr, min_stack_byte_size) == in LaunchThread()60 thread_attr_ptr = &thread_attr; in LaunchThread()70 ::pthread_attr_destroy(&thread_attr); in LaunchThread()
779 pthread_attr_t thread_attr; in __kmp_create_worker() local816 status = pthread_attr_init(&thread_attr); in __kmp_create_worker()820 status = pthread_attr_setdetachstate(&thread_attr, PTHREAD_CREATE_JOINABLE); in __kmp_create_worker()839 status = pthread_attr_setstacksize(&thread_attr, stack_size); in __kmp_create_worker()849 status = pthread_attr_setstacksize(&thread_attr, stack_size); in __kmp_create_worker()862 pthread_create(&handle, &thread_attr, __kmp_launch_worker, (void *)th); in __kmp_create_worker()884 status = pthread_attr_destroy(&thread_attr); in __kmp_create_worker()904 pthread_attr_t thread_attr; in __kmp_create_monitor() local935 status = pthread_attr_init(&thread_attr); in __kmp_create_monitor()939 status = pthread_attr_setdetachstate(&thread_attr, PTHREAD_CREATE_JOINABLE); in __kmp_create_monitor()[all …]