A system for providing a double compare and swap operation is disclosed. In the disclosed system, a first single compare and swap operation is performed. If a contents of a first variable is equal to an old value for the first variable, then the first compare and swap operation writes a value to the...http://www.google.de/patents/US6223335?utm_source=gb-gplus-sharePatent US6223335 - Platform independent double compare and swap operation