Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

From: George Bosilca (bosilca_at_[hidden])
Date: 2006-05-18 14:28:36


Because we don't really care about the destructors most of the time.
I was looking for something else when I realize what was happening
over there.

Same as the trylock one. You see magic is still possible :):)

   george.

On May 18, 2006, at 1:47 PM, Jeff Squyres ((jsquyres)) wrote:

> How on earth did this one live for so long?
>
>
>> -----Original Message-----
>> From: svn-full-bounces_at_[hidden]
>> [mailto:svn-full-bounces_at_[hidden]] On Behalf Of
>> bosilca_at_[hidden]
>> Sent: Thursday, May 18, 2006 12:22 PM
>> To: svn-full_at_[hidden]
>> Subject: [OMPI svn-full] svn:open-mpi r9969
>>
>> Author: bosilca
>> Date: 2006-05-18 12:21:29 EDT (Thu, 18 May 2006)
>> New Revision: 9969
>>
>> Modified:
>> trunk/opal/class/opal_object.c
>>
>> Log:
>> There should be one gap between the constructors and the
>> destructors, otherwise
>> the last constructor will be set to NULL overwriting the
>> first destructor. This
>> prevent us from calling the destructors on some classes.
>>
>>
>> Modified: trunk/opal/class/opal_object.c
>> ==============================================================
>> ================
>> --- trunk/opal/class/opal_object.c (original)
>> +++ trunk/opal/class/opal_object.c 2006-05-18 12:21:29 EDT
>> (Thu, 18 May 2006)
>> @@ -112,7 +112,7 @@
>> perror("Out of memory");
>> exit(-1);
>> }
>> - cls->cls_destruct_array = cls->cls_construct_array +
>> cls->cls_depth;
>> + cls->cls_destruct_array = cls->cls_construct_array +
>> cls->cls_depth + 1;
>> cls_construct_array = cls->cls_construct_array;
>> cls_destruct_array = cls->cls_destruct_array;
>>
>> _______________________________________________
>> svn-full mailing list
>> svn-full_at_[hidden]
>> http://www.open-mpi.org/mailman/listinfo.cgi/svn-full
>>
>
> _______________________________________________
> devel mailing list
> devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/devel