Betrayed by a bitfield
Betrayed by a bitfield
Posted Feb 17, 2012 16:20 UTC (Fri) by jwakely (subscriber, #60262)In reply to: Betrayed by a bitfield by chrisV
Parent article: Betrayed by a bitfield
> as -pthread is supposed to switch on the POSIX memory model in gcc
Says who?
On ia64-linux it appears to be equivalent to just -D_REENTRANT, on x86-linux it also passes -lpthread to the linker, but it has no effect on code-generation.
> they don't want full sequential consistency in all cases because of its efficiency implications.
Which part of the C11 memory model requires sequential consistency?
