From: George Caragea (george_at_east_dot_isi_dot_edu)
Date: Thu Jun 26 2008 - 13:15:28 PDT
Hello, We are trying to port UPC/GASNet to a new platform, and are currently looking at providing the operations in gasnet/gasnet_atomic_bits.h. I read the draft HOWTO posted at http://upc-bugs.lbl.gov/bugzilla/show_bug.cgi?id=1607, which was very helpful. However, it seems our platform falls into under the 5c bullet of that classification, namely we have an atomic test-and-set operation. The suggestion in that document is that a variation of the load-and-clear algorithm could be used in this case, but at a quick search I didn't find any references to such an algorithm. If anyone can provide any further references or guidance on this matter, it would be really helpful. Thanks, George