As I mentioned earlier, C++11 allows the memory model to be determined
at runtime. Rather than invoke a call to a runtime library or inline a
switch statement with all the valid options, just default to SEQ_CST
mode.This can easily be changed later if it is determined to be needed.
The do
On 08/24/2011 10:23 AM, Andrew MacLeod wrote:
As I mentioned earlier, C++11 allows the memory model to be determined
at runtime. Rather than invoke a call to a runtime library or inline
a switch statement with all the valid options, just default to SEQ_CST
mode.This can easily be changed l