K 10 svn:author V 6 marcel K 8 svn:date V 27 2002-11-16T17:05:06.000000Z K 7 svn:log V 365 Implement the lock with a cmpxchg instruction instead of a xchg. Both are atomic, but the cmpxchg has memory ordering hints. We give this acquire semantics. NOTE: The unlock in libc_r is implemented by a "normal" assign statement. This is not correct on ia64 due to the memory ordering characteristics of the architecture. We need release semantics for an unlock. END