[OMPI devel] opal_atomic_lifo is not really atomic.

2007-09-05 Thread Gleb Natapov
Hi, opal_atomic_lifo implementation suffers from ABA problem. Here is the code for opal_atomic_lifo_pop: 1 do { 2 item = lifo->opal_lifo_head; 3 if( opal_atomic_cmpset_ptr( &(lifo->opal_lifo_head), 4 item, 5

Re: [OMPI devel] thread model

2007-09-05 Thread Jeff Squyres
Greg: sorry for the delay in replying... I am not the authority on this stuff; can George / Brian / Terry / Brad / Gleb reply on this issue? Thanks. On Aug 28, 2007, at 12:57 PM, Greg Watson wrote: Note that this is *NOT* well tested. There is work going on right now to make the OMPI laye

Re: [OMPI devel] thread model

2007-09-05 Thread Ralph Castain
See below On 9/5/07 7:04 PM, "Jeff Squyres" wrote: > Greg: sorry for the delay in replying... > > I am not the authority on this stuff; can George / Brian / Terry / > Brad / Gleb reply on this issue? > > Thanks. > > On Aug 28, 2007, at 12:57 PM, Greg Watson wrote: > >>> Note that this is *N