1
1
Jeff Squyres 5cbf975955 Fix a confusing situation, and eliminate a potential memory leak.
MPI-1 does not say whether an errorhandler obtained via
MPI_ERRHANDLER_GET (or MPI_COMM_GET_ERRHANDLER or ...) needs to be
ERRHANDLER_FREE'd or not.  I don't think it does, but some users will
probably disagree.  So per the lengthy comment in
src/mpi/c/comm_get_errhandler.c, we increment the refcount whenever
GET is invoked.

This can lead to a memory leak in FINALIZE if the user GET's some
intrinsic error handlers -- we'll increment the refcount, which means
that it will never get to 0 during FINALIZE like it should.  So add a
little extra logic to ensure that they are OMPI_OBJ_DESTROY'ed during
FINALIZE like they should be.

This commit was SVN r3661.
2004-11-26 22:11:22 +00:00

Copyright (c) 2004-2005 The Trustees of Indiana University.
                        All rights reserved.
Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
                        All rights reserved.
$COPYRIGHT$

Additional copyrights may follow

$HEADER$

This is the world's greatest MPI.

...more to write here
should be a short file, referring to the real docs.
Описание
Open MPI main development repository (BSD license)
https://github.com/open-mpi/ompi
Readme 130 MiB
Languages
C 82.4%
Fortran 3.8%
Roff 3.7%
Shell 3.3%
Makefile 2.3%
Разное 4.5%