[RFC PATCH 04/15] Convert 32-bit ISO atomics into a template

2016-05-18 Thread David Howells
Convert the 32-bit ISO C++11 atomic implementation into a template that can then be overloaded with #defines to produce 32-bit, long and 64-bit atomics. This is then overloaded to produce the 32-bit atomic_t implementation. This should probably be merged with the previous patch if we want to use

[RFC PATCH 04/15] Convert 32-bit ISO atomics into a template

2016-05-18 Thread David Howells
Convert the 32-bit ISO C++11 atomic implementation into a template that can then be overloaded with #defines to produce 32-bit, long and 64-bit atomics. This is then overloaded to produce the 32-bit atomic_t implementation. This should probably be merged with the previous patch if we want to use