-/*
- * atomic operations
- * these are _the_ atomic operations, currently cast atop CompareAndSwap,
- * which is implemented in assembler. if we are worried about the cost of
- * this layering (we shouldn't be), then all this stuff could be
- * implemented in assembler, as it is in MacOS8/9
- * (derived from SuperMario/NativeLibs/IO/DriverServices/Synchronization.s,
- * which I wrote for NuKernel in a previous life with a different last name...)
- *
- * native Boolean CompareAndSwap(UInt32 oldValue, UInt32 newValue, UInt32 * oldValuePtr);
- *
- * We've since implemented a few more of these -- OSAddAtomic, OSDequeueAtomic,
- * OSEnqueueAtomic etc -- in assembler, either for speed or correctness. See also the
- * commpage atomic operations, and the platform specific versions.
- * Like standards, there are a lot of atomic ops to choose from!
- */