K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-08-01T23:51:20.564476Z K 7 svn:log V 209 Add a new atomic operation atomic_testandset for x86. This operation atomically tests and sets a bit, i. e., tmp = (*p & v) != 0; *p |= v; return (tmp) where v = ()1 << s % (sizeof() * NBBY) END