Lines Matching refs:status

388   int status;  in __kmp_terminate_thread()  local
396 status = pthread_cancel(th->th.th_info.ds.ds_thread); in __kmp_terminate_thread()
397 if (status != 0 && status != ESRCH) { in __kmp_terminate_thread()
398 __kmp_fatal(KMP_MSG(CantTerminateWorkerThread), KMP_ERR(status), in __kmp_terminate_thread()
414 int status; in __kmp_set_stack_info() local
424 status = pthread_attr_init(&attr); in __kmp_set_stack_info()
425 KMP_CHECK_SYSFAIL("pthread_attr_init", status); in __kmp_set_stack_info()
427 status = pthread_attr_get_np(pthread_self(), &attr); in __kmp_set_stack_info()
428 KMP_CHECK_SYSFAIL("pthread_attr_get_np", status); in __kmp_set_stack_info()
430 status = pthread_getattr_np(pthread_self(), &attr); in __kmp_set_stack_info()
431 KMP_CHECK_SYSFAIL("pthread_getattr_np", status); in __kmp_set_stack_info()
433 status = pthread_attr_getstack(&attr, &addr, &size); in __kmp_set_stack_info()
434 KMP_CHECK_SYSFAIL("pthread_attr_getstack", status); in __kmp_set_stack_info()
439 status = pthread_attr_destroy(&attr); in __kmp_set_stack_info()
440 KMP_CHECK_SYSFAIL("pthread_attr_destroy", status); in __kmp_set_stack_info()
460 int status, old_type, old_state; in __kmp_launch_worker() local
493 status = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &old_type); in __kmp_launch_worker()
494 KMP_CHECK_SYSFAIL("pthread_setcanceltype", status); in __kmp_launch_worker()
496 status = pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, &old_state); in __kmp_launch_worker()
497 KMP_CHECK_SYSFAIL("pthread_setcancelstate", status); in __kmp_launch_worker()
508 status = sigfillset(&new_set); in __kmp_launch_worker()
509 KMP_CHECK_SYSFAIL_ERRNO("sigfillset", status); in __kmp_launch_worker()
510 status = pthread_sigmask(SIG_BLOCK, &new_set, &old_set); in __kmp_launch_worker()
511 KMP_CHECK_SYSFAIL("pthread_sigmask", status); in __kmp_launch_worker()
530 status = pthread_sigmask(SIG_SETMASK, &old_set, NULL); in __kmp_launch_worker()
531 KMP_CHECK_SYSFAIL("pthread_sigmask", status); in __kmp_launch_worker()
541 int status, old_type, old_state; in __kmp_launch_monitor() local
570 status = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &old_type); in __kmp_launch_monitor()
571 KMP_CHECK_SYSFAIL("pthread_setcanceltype", status); in __kmp_launch_monitor()
573 status = pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, &old_state); in __kmp_launch_monitor()
574 KMP_CHECK_SYSFAIL("pthread_setcancelstate", status); in __kmp_launch_monitor()
637 status = gettimeofday(&tval, NULL); in __kmp_launch_monitor()
638 KMP_CHECK_SYSFAIL_ERRNO("gettimeofday", status); in __kmp_launch_monitor()
649 status = pthread_mutex_lock(&__kmp_wait_mx.m_mutex); in __kmp_launch_monitor()
650 KMP_CHECK_SYSFAIL("pthread_mutex_lock", status); in __kmp_launch_monitor()
653 status = pthread_cond_timedwait(&__kmp_wait_cv.c_cond, in __kmp_launch_monitor()
655 if (status != 0) { in __kmp_launch_monitor()
656 if (status != ETIMEDOUT && status != EINTR) { in __kmp_launch_monitor()
657 KMP_SYSFAIL("pthread_cond_timedwait", status); in __kmp_launch_monitor()
661 status = pthread_mutex_unlock(&__kmp_wait_mx.m_mutex); in __kmp_launch_monitor()
662 KMP_CHECK_SYSFAIL("pthread_mutex_unlock", status); in __kmp_launch_monitor()
673 status = sigfillset(&new_set); in __kmp_launch_monitor()
674 KMP_CHECK_SYSFAIL_ERRNO("sigfillset", status); in __kmp_launch_monitor()
675 status = pthread_sigmask(SIG_UNBLOCK, &new_set, NULL); in __kmp_launch_monitor()
676 KMP_CHECK_SYSFAIL("pthread_sigmask", status); in __kmp_launch_monitor()
714 int status; in __kmp_create_worker() local
750 status = pthread_attr_init(&thread_attr); in __kmp_create_worker()
751 if (status != 0) { in __kmp_create_worker()
752 __kmp_fatal(KMP_MSG(CantInitThreadAttrs), KMP_ERR(status), __kmp_msg_null); in __kmp_create_worker()
754 status = pthread_attr_setdetachstate(&thread_attr, PTHREAD_CREATE_JOINABLE); in __kmp_create_worker()
755 if (status != 0) { in __kmp_create_worker()
756 __kmp_fatal(KMP_MSG(CantSetWorkerState), KMP_ERR(status), __kmp_msg_null); in __kmp_create_worker()
780 status = pthread_attr_setstacksize(&thread_attr, stack_size); in __kmp_create_worker()
782 if (status != 0) { in __kmp_create_worker()
790 status = pthread_attr_setstacksize(&thread_attr, stack_size); in __kmp_create_worker()
794 if (status != 0) { in __kmp_create_worker()
795 __kmp_fatal(KMP_MSG(CantSetWorkerStackSize, stack_size), KMP_ERR(status), in __kmp_create_worker()
802 status = in __kmp_create_worker()
804 if (status != 0 || !handle) { // ??? Why do we check handle?? in __kmp_create_worker()
806 if (status == EINVAL) { in __kmp_create_worker()
807 __kmp_fatal(KMP_MSG(CantSetWorkerStackSize, stack_size), KMP_ERR(status), in __kmp_create_worker()
810 if (status == ENOMEM) { in __kmp_create_worker()
811 __kmp_fatal(KMP_MSG(CantSetWorkerStackSize, stack_size), KMP_ERR(status), in __kmp_create_worker()
815 if (status == EAGAIN) { in __kmp_create_worker()
816 __kmp_fatal(KMP_MSG(NoResourcesForWorkerThread), KMP_ERR(status), in __kmp_create_worker()
819 KMP_SYSFAIL("pthread_create", status); in __kmp_create_worker()
825 status = pthread_attr_destroy(&thread_attr); in __kmp_create_worker()
826 if (status) { in __kmp_create_worker()
827 kmp_msg_t err_code = KMP_ERR(status); in __kmp_create_worker()
847 int status; in __kmp_create_monitor() local
876 status = pthread_attr_init(&thread_attr); in __kmp_create_monitor()
877 if (status != 0) { in __kmp_create_monitor()
878 __kmp_fatal(KMP_MSG(CantInitThreadAttrs), KMP_ERR(status), __kmp_msg_null); in __kmp_create_monitor()
880 status = pthread_attr_setdetachstate(&thread_attr, PTHREAD_CREATE_JOINABLE); in __kmp_create_monitor()
881 if (status != 0) { in __kmp_create_monitor()
882 __kmp_fatal(KMP_MSG(CantSetMonitorState), KMP_ERR(status), __kmp_msg_null); in __kmp_create_monitor()
886 status = pthread_attr_getstacksize(&thread_attr, &size); in __kmp_create_monitor()
887 KMP_CHECK_SYSFAIL("pthread_attr_getstacksize", status); in __kmp_create_monitor()
910 status = pthread_attr_setstacksize(&thread_attr, __kmp_monitor_stksize); in __kmp_create_monitor()
911 if (status != 0) { in __kmp_create_monitor()
916 kmp_msg_t err_code = KMP_ERR(status); in __kmp_create_monitor()
926 status = in __kmp_create_monitor()
929 if (status != 0) { in __kmp_create_monitor()
931 if (status == EINVAL) { in __kmp_create_monitor()
937 KMP_ERR(status), KMP_HNT(IncreaseMonitorStackSize), in __kmp_create_monitor()
940 if (status == ENOMEM) { in __kmp_create_monitor()
942 KMP_ERR(status), KMP_HNT(DecreaseMonitorStackSize), in __kmp_create_monitor()
946 if (status == EAGAIN) { in __kmp_create_monitor()
947 __kmp_fatal(KMP_MSG(NoResourcesForMonitorThread), KMP_ERR(status), in __kmp_create_monitor()
950 KMP_SYSFAIL("pthread_create", status); in __kmp_create_monitor()
964 status = pthread_attr_destroy(&thread_attr); in __kmp_create_monitor()
965 if (status != 0) { in __kmp_create_monitor()
966 kmp_msg_t err_code = KMP_ERR(status); in __kmp_create_monitor()
991 int status; in __kmp_reap_monitor() local
1013 status = pthread_kill(th->th.th_info.ds.ds_thread, 0); in __kmp_reap_monitor()
1014 if (status != ESRCH) { in __kmp_reap_monitor()
1018 status = pthread_join(th->th.th_info.ds.ds_thread, &exit_val); in __kmp_reap_monitor()
1020 __kmp_fatal(KMP_MSG(ReapMonitorError), KMP_ERR(status), __kmp_msg_null); in __kmp_reap_monitor()
1035 int status; in __kmp_reap_worker() local
1043 status = pthread_join(th->th.th_info.ds.ds_thread, &exit_val); in __kmp_reap_worker()
1046 if (status != 0) { in __kmp_reap_worker()
1047 __kmp_fatal(KMP_MSG(ReapWorkerError), KMP_ERR(status), __kmp_msg_null); in __kmp_reap_worker()
1055 (void)status; // unused variable in __kmp_reap_worker()
1194 int status, old_state; in __kmp_enable() local
1195 status = pthread_setcancelstate(new_state, &old_state); in __kmp_enable()
1196 KMP_CHECK_SYSFAIL("pthread_setcancelstate", status); in __kmp_enable()
1203 int status; in __kmp_disable() local
1204 status = pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, old_state); in __kmp_disable()
1205 KMP_CHECK_SYSFAIL("pthread_setcancelstate", status); in __kmp_disable()
1321 int status = pthread_atfork(__kmp_atfork_prepare, __kmp_atfork_parent, in __kmp_register_atfork() local
1323 KMP_CHECK_SYSFAIL("pthread_atfork", status); in __kmp_register_atfork()
1329 int status; in __kmp_suspend_initialize() local
1330 status = pthread_mutexattr_init(&__kmp_suspend_mutex_attr); in __kmp_suspend_initialize()
1331 KMP_CHECK_SYSFAIL("pthread_mutexattr_init", status); in __kmp_suspend_initialize()
1332 status = pthread_condattr_init(&__kmp_suspend_cond_attr); in __kmp_suspend_initialize()
1333 KMP_CHECK_SYSFAIL("pthread_condattr_init", status); in __kmp_suspend_initialize()
1350 int status; in __kmp_suspend_initialize_thread() local
1351 status = pthread_cond_init(&th->th.th_suspend_cv.c_cond, in __kmp_suspend_initialize_thread()
1353 KMP_CHECK_SYSFAIL("pthread_cond_init", status); in __kmp_suspend_initialize_thread()
1354 status = pthread_mutex_init(&th->th.th_suspend_mx.m_mutex, in __kmp_suspend_initialize_thread()
1356 KMP_CHECK_SYSFAIL("pthread_mutex_init", status); in __kmp_suspend_initialize_thread()
1365 int status; in __kmp_suspend_uninitialize_thread() local
1367 status = pthread_cond_destroy(&th->th.th_suspend_cv.c_cond); in __kmp_suspend_uninitialize_thread()
1368 if (status != 0 && status != EBUSY) { in __kmp_suspend_uninitialize_thread()
1369 KMP_SYSFAIL("pthread_cond_destroy", status); in __kmp_suspend_uninitialize_thread()
1371 status = pthread_mutex_destroy(&th->th.th_suspend_mx.m_mutex); in __kmp_suspend_uninitialize_thread()
1372 if (status != 0 && status != EBUSY) { in __kmp_suspend_uninitialize_thread()
1373 KMP_SYSFAIL("pthread_mutex_destroy", status); in __kmp_suspend_uninitialize_thread()
1387 int status = pthread_mutex_lock(&th->th.th_suspend_mx.m_mutex); in __kmp_lock_suspend_mx() local
1388 KMP_CHECK_SYSFAIL("pthread_mutex_lock", status); in __kmp_lock_suspend_mx()
1392 int status = pthread_mutex_unlock(&th->th.th_suspend_mx.m_mutex); in __kmp_unlock_suspend_mx() local
1393 KMP_CHECK_SYSFAIL("pthread_mutex_unlock", status); in __kmp_unlock_suspend_mx()
1402 int status; in __kmp_suspend_template() local
1473 status = gettimeofday(&tval, NULL); in __kmp_suspend_template()
1474 KMP_CHECK_SYSFAIL_ERRNO("gettimeofday", status); in __kmp_suspend_template()
1484 status = pthread_cond_timedwait(&th->th.th_suspend_cv.c_cond, in __kmp_suspend_template()
1490 status = pthread_cond_wait(&th->th.th_suspend_cv.c_cond, in __kmp_suspend_template()
1494 if ((status != 0) && (status != EINTR) && (status != ETIMEDOUT)) { in __kmp_suspend_template()
1495 KMP_SYSFAIL("pthread_cond_wait", status); in __kmp_suspend_template()
1501 ((status == EINTR) || (status == ETIMEDOUT))) { in __kmp_suspend_template()
1510 if (status == ETIMEDOUT) { in __kmp_suspend_template()
1588 int status; in __kmp_resume_template() local
1655 status = pthread_cond_signal(&th->th.th_suspend_cv.c_cond); in __kmp_resume_template()
1656 KMP_CHECK_SYSFAIL("pthread_cond_signal", status); in __kmp_resume_template()
1688 int status; in __kmp_resume_monitor() local
1695 status = pthread_mutex_lock(&__kmp_wait_mx.m_mutex); in __kmp_resume_monitor()
1696 KMP_CHECK_SYSFAIL("pthread_mutex_lock", status); in __kmp_resume_monitor()
1705 status = pthread_cond_signal(&__kmp_wait_cv.c_cond); in __kmp_resume_monitor()
1706 KMP_CHECK_SYSFAIL("pthread_cond_signal", status); in __kmp_resume_monitor()
1707 status = pthread_mutex_unlock(&__kmp_wait_mx.m_mutex); in __kmp_resume_monitor()
1708 KMP_CHECK_SYSFAIL("pthread_mutex_unlock", status); in __kmp_resume_monitor()
1719 int status; in __kmp_gtid_set_specific() local
1720 status = pthread_setspecific(__kmp_gtid_threadprivate_key, in __kmp_gtid_set_specific()
1722 KMP_CHECK_SYSFAIL("pthread_setspecific", status); in __kmp_gtid_set_specific()
1757 int status; in __kmp_read_system_info() local
1762 status = getrusage(RUSAGE_SELF, &r_usage); in __kmp_read_system_info()
1763 KMP_CHECK_SYSFAIL_ERRNO("getrusage", status); in __kmp_read_system_info()
1782 return (status != 0); in __kmp_read_system_info()
1789 int status; in __kmp_read_system_time() local
1791 status = gettimeofday(&tval, NULL); in __kmp_read_system_time()
1792 KMP_CHECK_SYSFAIL_ERRNO("gettimeofday", status); in __kmp_read_system_time()
1800 int status; in __kmp_clear_system_time() local
1801 status = gettimeofday(&tval, NULL); in __kmp_clear_system_time()
1802 KMP_CHECK_SYSFAIL_ERRNO("gettimeofday", status); in __kmp_clear_system_time()
1862 int status; in __kmp_runtime_initialize() local
1882 status = getrlimit(RLIMIT_STACK, &rlim); in __kmp_runtime_initialize()
1883 if (status == 0) { // success? in __kmp_runtime_initialize()
1911 status = pthread_key_create(&__kmp_gtid_threadprivate_key, in __kmp_runtime_initialize()
1913 KMP_CHECK_SYSFAIL("pthread_key_create", status); in __kmp_runtime_initialize()
1914 status = pthread_mutexattr_init(&mutex_attr); in __kmp_runtime_initialize()
1915 KMP_CHECK_SYSFAIL("pthread_mutexattr_init", status); in __kmp_runtime_initialize()
1916 status = pthread_mutex_init(&__kmp_wait_mx.m_mutex, &mutex_attr); in __kmp_runtime_initialize()
1917 KMP_CHECK_SYSFAIL("pthread_mutex_init", status); in __kmp_runtime_initialize()
1918 status = pthread_mutexattr_destroy(&mutex_attr); in __kmp_runtime_initialize()
1919 KMP_CHECK_SYSFAIL("pthread_mutexattr_destroy", status); in __kmp_runtime_initialize()
1920 status = pthread_condattr_init(&cond_attr); in __kmp_runtime_initialize()
1921 KMP_CHECK_SYSFAIL("pthread_condattr_init", status); in __kmp_runtime_initialize()
1922 status = pthread_cond_init(&__kmp_wait_cv.c_cond, &cond_attr); in __kmp_runtime_initialize()
1923 KMP_CHECK_SYSFAIL("pthread_cond_init", status); in __kmp_runtime_initialize()
1924 status = pthread_condattr_destroy(&cond_attr); in __kmp_runtime_initialize()
1925 KMP_CHECK_SYSFAIL("pthread_condattr_destroy", status); in __kmp_runtime_initialize()
1934 int status; in __kmp_runtime_destroy() local
1944 status = pthread_key_delete(__kmp_gtid_threadprivate_key); in __kmp_runtime_destroy()
1945 KMP_CHECK_SYSFAIL("pthread_key_delete", status); in __kmp_runtime_destroy()
1947 status = pthread_mutex_destroy(&__kmp_wait_mx.m_mutex); in __kmp_runtime_destroy()
1948 if (status != 0 && status != EBUSY) { in __kmp_runtime_destroy()
1949 KMP_SYSFAIL("pthread_mutex_destroy", status); in __kmp_runtime_destroy()
1951 status = pthread_cond_destroy(&__kmp_wait_cv.c_cond); in __kmp_runtime_destroy()
1952 if (status != 0 && status != EBUSY) { in __kmp_runtime_destroy()
1953 KMP_SYSFAIL("pthread_cond_destroy", status); in __kmp_runtime_destroy()
1968 int status; in __kmp_elapsed() local
1972 status = clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts); in __kmp_elapsed()
1973 KMP_CHECK_SYSFAIL_ERRNO("clock_gettime", status); in __kmp_elapsed()
1979 status = gettimeofday(&tv, NULL); in __kmp_elapsed()
1980 KMP_CHECK_SYSFAIL_ERRNO("gettimeofday", status); in __kmp_elapsed()
2564 int status = sem_wait(&hidden_helper_task_sem); in __kmp_hidden_helper_worker_thread_wait() local
2565 KMP_CHECK_SYSFAIL("sem_wait", status); in __kmp_hidden_helper_worker_thread_wait()
2570 int status = in __kmp_do_initialize_hidden_helper_threads() local
2572 KMP_CHECK_SYSFAIL("pthread_cond_init", status); in __kmp_do_initialize_hidden_helper_threads()
2574 status = pthread_cond_init(&hidden_helper_threads_deinitz_cond_var, nullptr); in __kmp_do_initialize_hidden_helper_threads()
2575 KMP_CHECK_SYSFAIL("pthread_cond_init", status); in __kmp_do_initialize_hidden_helper_threads()
2577 status = pthread_cond_init(&hidden_helper_main_thread_cond_var, nullptr); in __kmp_do_initialize_hidden_helper_threads()
2578 KMP_CHECK_SYSFAIL("pthread_cond_init", status); in __kmp_do_initialize_hidden_helper_threads()
2580 status = pthread_mutex_init(&hidden_helper_threads_initz_lock, nullptr); in __kmp_do_initialize_hidden_helper_threads()
2581 KMP_CHECK_SYSFAIL("pthread_mutex_init", status); in __kmp_do_initialize_hidden_helper_threads()
2583 status = pthread_mutex_init(&hidden_helper_threads_deinitz_lock, nullptr); in __kmp_do_initialize_hidden_helper_threads()
2584 KMP_CHECK_SYSFAIL("pthread_mutex_init", status); in __kmp_do_initialize_hidden_helper_threads()
2586 status = pthread_mutex_init(&hidden_helper_main_thread_lock, nullptr); in __kmp_do_initialize_hidden_helper_threads()
2587 KMP_CHECK_SYSFAIL("pthread_mutex_init", status); in __kmp_do_initialize_hidden_helper_threads()
2590 status = sem_init(&hidden_helper_task_sem, 0, 0); in __kmp_do_initialize_hidden_helper_threads()
2591 KMP_CHECK_SYSFAIL("sem_init", status); in __kmp_do_initialize_hidden_helper_threads()
2595 status = pthread_create( in __kmp_do_initialize_hidden_helper_threads()
2602 KMP_CHECK_SYSFAIL("pthread_create", status); in __kmp_do_initialize_hidden_helper_threads()
2608 int status = pthread_mutex_lock(&hidden_helper_threads_initz_lock); in __kmp_hidden_helper_threads_initz_wait() local
2609 KMP_CHECK_SYSFAIL("pthread_mutex_lock", status); in __kmp_hidden_helper_threads_initz_wait()
2612 status = pthread_cond_wait(&hidden_helper_threads_initz_cond_var, in __kmp_hidden_helper_threads_initz_wait()
2614 KMP_CHECK_SYSFAIL("pthread_cond_wait", status); in __kmp_hidden_helper_threads_initz_wait()
2617 status = pthread_mutex_unlock(&hidden_helper_threads_initz_lock); in __kmp_hidden_helper_threads_initz_wait()
2618 KMP_CHECK_SYSFAIL("pthread_mutex_unlock", status); in __kmp_hidden_helper_threads_initz_wait()
2623 int status = pthread_mutex_lock(&hidden_helper_threads_initz_lock); in __kmp_hidden_helper_initz_release() local
2624 KMP_CHECK_SYSFAIL("pthread_mutex_lock", status); in __kmp_hidden_helper_initz_release()
2626 status = pthread_cond_signal(&hidden_helper_threads_initz_cond_var); in __kmp_hidden_helper_initz_release()
2627 KMP_CHECK_SYSFAIL("pthread_cond_wait", status); in __kmp_hidden_helper_initz_release()
2631 status = pthread_mutex_unlock(&hidden_helper_threads_initz_lock); in __kmp_hidden_helper_initz_release()
2632 KMP_CHECK_SYSFAIL("pthread_mutex_unlock", status); in __kmp_hidden_helper_initz_release()
2638 int status = pthread_mutex_lock(&hidden_helper_main_thread_lock); in __kmp_hidden_helper_main_thread_wait() local
2639 KMP_CHECK_SYSFAIL("pthread_mutex_lock", status); in __kmp_hidden_helper_main_thread_wait()
2642 status = pthread_cond_wait(&hidden_helper_main_thread_cond_var, in __kmp_hidden_helper_main_thread_wait()
2644 KMP_CHECK_SYSFAIL("pthread_cond_wait", status); in __kmp_hidden_helper_main_thread_wait()
2647 status = pthread_mutex_unlock(&hidden_helper_main_thread_lock); in __kmp_hidden_helper_main_thread_wait()
2648 KMP_CHECK_SYSFAIL("pthread_mutex_unlock", status); in __kmp_hidden_helper_main_thread_wait()
2654 int status = pthread_mutex_lock(&hidden_helper_main_thread_lock); in __kmp_hidden_helper_main_thread_release() local
2655 KMP_CHECK_SYSFAIL("pthread_mutex_lock", status); in __kmp_hidden_helper_main_thread_release()
2657 status = pthread_cond_signal(&hidden_helper_main_thread_cond_var); in __kmp_hidden_helper_main_thread_release()
2658 KMP_CHECK_SYSFAIL("pthread_cond_signal", status); in __kmp_hidden_helper_main_thread_release()
2663 status = pthread_mutex_unlock(&hidden_helper_main_thread_lock); in __kmp_hidden_helper_main_thread_release()
2664 KMP_CHECK_SYSFAIL("pthread_mutex_unlock", status); in __kmp_hidden_helper_main_thread_release()
2668 int status = sem_post(&hidden_helper_task_sem); in __kmp_hidden_helper_worker_thread_signal() local
2669 KMP_CHECK_SYSFAIL("sem_post", status); in __kmp_hidden_helper_worker_thread_signal()
2675 int status = pthread_mutex_lock(&hidden_helper_threads_deinitz_lock); in __kmp_hidden_helper_threads_deinitz_wait() local
2676 KMP_CHECK_SYSFAIL("pthread_mutex_lock", status); in __kmp_hidden_helper_threads_deinitz_wait()
2679 status = pthread_cond_wait(&hidden_helper_threads_deinitz_cond_var, in __kmp_hidden_helper_threads_deinitz_wait()
2681 KMP_CHECK_SYSFAIL("pthread_cond_wait", status); in __kmp_hidden_helper_threads_deinitz_wait()
2684 status = pthread_mutex_unlock(&hidden_helper_threads_deinitz_lock); in __kmp_hidden_helper_threads_deinitz_wait()
2685 KMP_CHECK_SYSFAIL("pthread_mutex_unlock", status); in __kmp_hidden_helper_threads_deinitz_wait()
2689 int status = pthread_mutex_lock(&hidden_helper_threads_deinitz_lock); in __kmp_hidden_helper_threads_deinitz_release() local
2690 KMP_CHECK_SYSFAIL("pthread_mutex_lock", status); in __kmp_hidden_helper_threads_deinitz_release()
2692 status = pthread_cond_signal(&hidden_helper_threads_deinitz_cond_var); in __kmp_hidden_helper_threads_deinitz_release()
2693 KMP_CHECK_SYSFAIL("pthread_cond_wait", status); in __kmp_hidden_helper_threads_deinitz_release()
2697 status = pthread_mutex_unlock(&hidden_helper_threads_deinitz_lock); in __kmp_hidden_helper_threads_deinitz_release()
2698 KMP_CHECK_SYSFAIL("pthread_mutex_unlock", status); in __kmp_hidden_helper_threads_deinitz_release()