From 963336ee5a2948d4c27ae3197bd27385c1dd5801 Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Wed, 1 Dec 2010 04:24:10 +0000 Subject: [PATCH] Remove the test for libevent internal threads This commit was SVN r24120. --- orte/runtime/orte_mca_params.c | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/orte/runtime/orte_mca_params.c b/orte/runtime/orte_mca_params.c index 554c7217c0..fe751efea0 100644 --- a/orte/runtime/orte_mca_params.c +++ b/orte/runtime/orte_mca_params.c @@ -515,19 +515,15 @@ int orte_register_params(void) orte_child_time_to_exit.tv_sec = value; orte_child_time_to_exit.tv_usec = 0; - if (OPAL_EVENT_HAVE_THREAD_SUPPORT) { - mca_base_param_reg_int_name("orte", "enable_progress_threads", - "Enable the use of ORTE progress threads in applications", - false, false, - (int)false, &value); + mca_base_param_reg_int_name("orte", "enable_progress_threads", + "Enable the use of ORTE progress threads in applications", + false, false, + (int)false, &value); - if (ORTE_PROC_IS_HNP || ORTE_PROC_IS_DAEMON) { - orte_progress_threads_enabled = true; - } else { - orte_progress_threads_enabled = OPAL_INT_TO_BOOL(value); - } + if (ORTE_PROC_IS_HNP || ORTE_PROC_IS_DAEMON) { + orte_progress_threads_enabled = true; } else { - orte_progress_threads_enabled = false; + orte_progress_threads_enabled = OPAL_INT_TO_BOOL(value); } #endif /* ORTE_DISABLE_FULL_SUPPORT */