1
1

- fix a problem showed up with the sun thread tests.

Remove unnecessary locks because functions that are calling this
  function proper lock/unlock the orted_comm_mutex. Therefore this 
  unlocks cause some imballance.

This commit was SVN r15630.
Этот коммит содержится в:
Sven Stork 2007-07-26 11:30:27 +00:00
родитель 1f18b060ce
Коммит 5fd6c69019

Просмотреть файл

@ -433,7 +433,6 @@ static int process_commands(orte_process_name_t* sender,
/* if we are mpirun, do nothing - we will
* exit at our own sweet time
*/
OPAL_THREAD_UNLOCK(&orted_comm_mutex);
return ORTE_SUCCESS;
}
/* eventually, we need to revise this so we only
@ -450,7 +449,6 @@ static int process_commands(orte_process_name_t* sender,
/* have to unlock here as we are waking up and will
* do things inside the orted
*/
OPAL_THREAD_UNLOCK(&orted_comm_mutex);
return ORTE_SUCCESS;
break;
@ -460,7 +458,6 @@ static int process_commands(orte_process_name_t* sender,
/* if we are mpirun, do nothing - we will
* exit at our own sweet time
*/
OPAL_THREAD_UNLOCK(&orted_comm_mutex);
return ORTE_SUCCESS;
}
if (orte_debug_daemons_flag) {
@ -481,7 +478,6 @@ static int process_commands(orte_process_name_t* sender,
/* have to unlock here as we are waking up and will
* do things inside the orted
*/
OPAL_THREAD_UNLOCK(&orted_comm_mutex);
return ORTE_SUCCESS;
break;