Ian Lance Taylor writes:

 > perhaps we should implement the draft C++0x memory model for both C
 > and C++.

Yes.  I'm sure that's the right answer, given the way that
if-conversion breaks simple code such as

>     res = pthread_mutex_trylock(&mutex);
>     if (res == 0)
>       ++acquires_count;

Andrew.

Reply via email to