Re: [mpich-discuss] [PATCH v2] test: add attrdeleteget, MPI_Attr_get called from delete_fn
18 May
2013
18 May
'13
4:39 p.m.
On 05/18/2013 04:33 PM US Central Time, Pavan Balaji wrote:
On 05/18/2013 04:19 PM US Central Time, Fab Tillier wrote:
Pavan Balaji wrote on Sat, 18 May 2013 at 14:02:17
In MPICH, here's what we do:
1. Run the user callback. If it returned an error, return that error to the user.
So you don't actually free the attribute if the callback succeeds?
If the callback succeeds and the ref-count on the communicator is zero, we free the attributes.
... and ref-count on the attributes (not communicator) ... Gawd! -- Pavan Balaji http://www.mcs.anl.gov/~balaji
4813
Age (days ago)
4813
Last active (days ago)
0 comments
1 participants
participants (1)
-
Pavan Balaji