On Apr 27, 2011, at 5:58 AM, David Simcha wrote: > > Also, I found one potential explanation. I changed at the last minute from > using my own ASM blocks for atomic loads to core.atomic, now that atomicLoad > is exposed. I wrote a wrapper function around it that casts stuff to shared. > The way I was doing the cast is probably invalid code (because cast(shared) > someValue is not an lvalue; look at the latest changeset for details) but was > being accepted by the compiler and doing God only knows what, possibly a > non-atomic load at some point.
I'm currently working on the prototypes for core.atomic so the stuff that should compile does, and the stuff that shouldn't doesn't. Please let me know if you encounter any problems once I've committed my changes. _______________________________________________ phobos mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/phobos
