allow implementing a_cas_p with pointer-sized ll/sc
authorBobby Bingham <koorogi@koorogi.info>
Tue, 23 Feb 2016 03:14:23 +0000 (21:14 -0600)
committerRich Felker <dalias@aerifal.cx>
Tue, 23 Feb 2016 18:04:08 +0000 (13:04 -0500)
commit225f6a6b5b7173b6655e4f5d49b5b9fea70bf3bb
tree756a90a9fb1ea21f1142b024408a16a4eb8016f5
parent074e6b3fe3f2ad89b991f3d8ab0932035b312a62
allow implementing a_cas_p with pointer-sized ll/sc

No current ports do this, but it will be useful for porting to 64-bit ll/sc
architectures, such as mips64 and powerpc64.
src/internal/atomic.h