On 08/08/2012 12:05 PM, 陳韋任 (Wei-Ren Chen) wrote: >> I propose we use gcc builtins. We get automatic architecture support, >> and tuning for newer processors if the user so chooses. >> >> http://gcc.gnu.org/onlinedocs/gcc-4.1.2/gcc/Atomic-Builtins.html >> >> In May 2031 we can switch to C11 atomics. > ^^^^ > Maybe 2013? > Maybe in 2013 we'll get a compiler that supports C11... -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html