Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp> writes:> [ compare_and_swap man page ]
Looks kinda baroque. What about the referenced fetch_and_or routine?If that's atomic it might be closer to TAS semantics.
regards, tom lane