Home
last modified time | relevance | path

Searched refs:thread_attr (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/lldb/source/Host/common/
H A DThreadLauncher.cpp49 pthread_attr_t thread_attr; in LaunchThread() local
52 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()
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dz_Linux_util.cpp779 pthread_attr_t thread_attr; in __kmp_create_worker() local
816 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() local
935 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 …]