1
1

Per telecon, add comment indicating this needs to be fixed

Refs trac:4354

This commit was SVN r30991.

The following Trac tickets were found above:
  Ticket 4354 --> https://svn.open-mpi.org/trac/ompi/ticket/4354
Этот коммит содержится в:
Ralph Castain 2014-03-11 15:57:11 +00:00
родитель 49173ccd61
Коммит e4efd5675f

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

@ -493,6 +493,11 @@ int ompi_mtl_mxm_del_procs(struct mca_mtl_base_module_t *mtl, size_t nprocs,
{
size_t i;
/* XXX: Directly accessing the obj_reference_count is an abstraction
* violation of the object system. We know this needs to be fixed, but
* are deferring the fix to a later time as it involves a design issue
* in the way we handle endpoints as objects
*/
for (i = 0; i < nprocs; ++i) {
if (((opal_object_t*)procs[i])->obj_reference_count == 1) {
mca_mtl_mxm_endpoint_t *endpoint = (mca_mtl_mxm_endpoint_t*)