Ensure the recv handler has been initialized
Refs trac:4026 This commit was SVN r30068. The following Trac tickets were found above: Ticket 4026 --> https://svn.open-mpi.org/trac/ompi/ticket/4026
Этот коммит содержится в:
родитель
bb80625a8a
Коммит
38f46641ce
@ -290,6 +290,12 @@ void mca_oob_tcp_peer_try_connect(int fd, short args, void *cbdata)
|
|||||||
op->mod->if_name,
|
op->mod->if_name,
|
||||||
ORTE_NAME_PRINT(&peer->name));
|
ORTE_NAME_PRINT(&peer->name));
|
||||||
|
|
||||||
|
/* setup our recv to catch the return ack call */
|
||||||
|
if (!peer->recv_ev_active) {
|
||||||
|
opal_event_add(&peer->recv_event, 0);
|
||||||
|
peer->recv_ev_active = true;
|
||||||
|
}
|
||||||
|
|
||||||
/* send our globally unique process identifier to the peer */
|
/* send our globally unique process identifier to the peer */
|
||||||
if (ORTE_SUCCESS == (rc = tcp_peer_send_connect_ack(op->mod, peer))) {
|
if (ORTE_SUCCESS == (rc = tcp_peer_send_connect_ack(op->mod, peer))) {
|
||||||
peer->state = MCA_OOB_TCP_CONNECT_ACK;
|
peer->state = MCA_OOB_TCP_CONNECT_ACK;
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user