Remove some unused code and correct the finalize function (cancel the pending
receive request). This commit was SVN r14324.
Этот коммит содержится в:
родитель
4a87c782c3
Коммит
e7c4f1ca64
@ -74,18 +74,6 @@ orte_iof_svc_component_t mca_iof_svc_component = {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
#if 0
|
|
||||||
static char* orte_iof_svc_param_register_string(
|
|
||||||
const char* param_name,
|
|
||||||
const char* default_value)
|
|
||||||
{
|
|
||||||
char *param_value;
|
|
||||||
int id = mca_base_param_register_string("iof","svc",param_name,NULL,default_value);
|
|
||||||
mca_base_param_lookup_string(id, ¶m_value);
|
|
||||||
return param_value;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static int orte_iof_svc_param_register_int(
|
static int orte_iof_svc_param_register_int(
|
||||||
const char* param_name,
|
const char* param_name,
|
||||||
int default_value)
|
int default_value)
|
||||||
@ -147,6 +135,7 @@ static orte_iof_base_module_t*
|
|||||||
orte_iof_svc_init(int* priority, bool *allow_multi_user_threads, bool *have_hidden_threads)
|
orte_iof_svc_init(int* priority, bool *allow_multi_user_threads, bool *have_hidden_threads)
|
||||||
{
|
{
|
||||||
int rc;
|
int rc;
|
||||||
|
|
||||||
if (false == orte_process_info.seed) {
|
if (false == orte_process_info.seed) {
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
@ -186,6 +175,7 @@ orte_iof_svc_init(int* priority, bool *allow_multi_user_threads, bool *have_hidd
|
|||||||
int
|
int
|
||||||
orte_iof_svc_finalize(void)
|
orte_iof_svc_finalize(void)
|
||||||
{
|
{
|
||||||
|
orte_rml.recv_cancel(ORTE_NAME_WILDCARD, ORTE_RML_TAG_IOF_SVC );
|
||||||
orte_rml.del_exception_handler(orte_iof_svc_exception_handler);
|
orte_rml.del_exception_handler(orte_iof_svc_exception_handler);
|
||||||
|
|
||||||
return ORTE_SUCCESS;
|
return ORTE_SUCCESS;
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user