1
1

Correctly set the state for communicator requests. Refs trac:3796

This commit was SVN r29377.

The following Trac tickets were found above:
  Ticket 3796 --> https://svn.open-mpi.org/trac/ompi/ticket/3796
Этот коммит содержится в:
Nathan Hjelm 2013-10-04 17:34:54 +00:00
родитель ba4b0f9235
Коммит b025babfec

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

@ -155,6 +155,8 @@ void ompi_comm_request_start (ompi_comm_request_t *request)
ompi_comm_request_progress_active = true;
}
request->super.req_state = OMPI_REQUEST_ACTIVE;
opal_mutex_unlock (&ompi_comm_request_mutex);
}
@ -195,7 +197,7 @@ static int ompi_comm_request_free (struct ompi_request_t **ompi_req)
return MPI_ERR_REQUEST;
}
(*ompi_req)->req_complete = false;
OMPI_REQUEST_FINI(*ompi_req);
ompi_comm_request_return (request);
*ompi_req = MPI_REQUEST_NULL;
@ -233,6 +235,8 @@ ompi_comm_request_t *ompi_comm_request_get (void)
OPAL_FREE_LIST_GET(&ompi_comm_requests, item, rc);
(void) rc;
OMPI_REQUEST_INIT((ompi_request_t *) item, false);
return (ompi_comm_request_t *) item;
}