K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-08-01T23:38:57.904628Z K 7 svn:log V 294 Add a new atomic operation atomic_swap for x86. This operation atomically loads the current value and stores a new value at once, i. e., tmp = *p; *p = v; return (tmp); Note atomic_readandclear is now obsolete and reimplemented as a macro around atomic_swap where the new value v is zero. END