- release the lock before we forward a message. In the threaded
build it's possible that we have to process an ack before this function returns. If we don't release the lock here we cause a deadlock later in ack processing function. This commit was SVN r15441.
Этот коммит содержится в:
родитель
5121dfe7e7
Коммит
c43335d671
@ -180,7 +180,9 @@ static void orte_iof_svc_proxy_msg(
|
||||
ORTE_NAME_ARGS(&hdr->msg_proxy),
|
||||
hdr->msg_tag, hdr->msg_seq, hdr->msg_len);
|
||||
/* Everthing matched -- forward the message */
|
||||
OPAL_THREAD_UNLOCK(&mca_iof_svc_component.svc_lock);
|
||||
orte_iof_svc_sub_forward(sub,peer,hdr,data,&forward);
|
||||
OPAL_THREAD_LOCK(&mca_iof_svc_component.svc_lock);
|
||||
}
|
||||
}
|
||||
OPAL_THREAD_UNLOCK(&mca_iof_svc_component.svc_lock);
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user