1
1

Lock the endpoint before doing endpoint_state processing. This ensures

that the subsequent unlock is valid.

This commit was SVN r15890.
Этот коммит содержится в:
Brad Benton 2007-08-16 18:11:29 +00:00
родитель 3a83c61c40
Коммит 1ddba9ec65

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

@ -652,6 +652,7 @@ static void rml_recv_cb(int status, orte_process_name_t* process_name,
return;
}
OPAL_THREAD_LOCK(&ib_endpoint->endpoint_lock);
endpoint_state = ib_endpoint->endpoint_state;
/* Update status */