Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [OMPI devel] ob1 and req->req_state
From: Shipman, Galen M. (gshipman_at_[hidden])
Date: 2008-06-23 16:43:34


We use req_state currently to track that we receive both RNDV
completion and RNDV ack prior to freeing the request..
- Galen

On Jun 23, 2008, at 3:23 PM, Brian W. Barrett wrote:

> On Mon, 23 Jun 2008, Jeff Squyres wrote:
>
>> On Jun 23, 2008, at 3:17 PM, Brian W. Barrett wrote:
>>
>>> Just because it's volatile doesn't mean that adds are atomic.
>>> There's at least one place in the PML (or used to be) where two
>>> threads could decrement that counter at the same time.
>>
>> With atomics, then both subtracts should occur, right? So a
>> request could go from ACTIVE -> INACTIVE -> INVALID. Is that what
>> is desired? (I honestly don't know enough about ob1 to say)
>>
>> Or should we just be assigning a specific state, rather than
>> relying on subtracting? That was my real question.
>
> I honestly don't know. I just remember that there were some cases
> where we were doing crazy counting.
>
> Brian
> _______________________________________________
> devel mailing list
> devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/devel