
was that some datatypes can be used in order to create additional datatypes. In such cases they should not get destroyed otherwise the user will not be able to retrieve how a datatype was created. So I decide to never increase the reference count for any predefined datatypes (as we already know they will never get destroyed, except on finalize). For the others, every time a datatype is user by another one I increase the reference count. When I destroy a datatype, I parse (the internal structure args) and release one ref count on all not predefined datatypes used by this one. Thus the datatypes get cleaned. The main problem with this approach is the recursivity as this function can trigger another call to itself (but I dont think it will be an issue). This commit was SVN r6450.
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 (c) 2004-2005 High Performance Computing Center Stuttgart, University of Stuttgart. All rights reserved. Copyright (c) 2004-2005 The Regents of the University of California. 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.
Описание
Languages
C
82.4%
Fortran
3.8%
Roff
3.7%
Shell
3.3%
Makefile
2.3%
Разное
4.5%