> Yes. Major pain since the only useful atomic operations are load & clear > word/double as you noted. > > Why does linux want an "exchange"-like API for atomic operations? That > just seems totally weird and stupid. Its very very efficient if you have an exchange operation or you have ll/sc. Most platforms Linux runs on have these. Alan