Does 4.0 support atomic instructions?

Does 4.0 support atomic instructions?

Hi all,
Does anyone know if the 4.0 release supports atomic instructions such as __sync_bool_compare_and_swap()?

Thanks.

4 posts / novo 0
Último post
Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.

No the 4.0 compiler does not assume it is transaction safe, nor does it record information to roll back in case of a conflict.

So they work, they just aren't supported inside transactions? To clarify, the previous version, 3.0, was based on an intel compiler that did not support atomic builtins *at all*, does this version support atomic builtins? It does not matter to me if they are not supported inside transactions.

Thanks.

There is no change in 4.0 compiler basic functionality compared to 3.0, except for support of the Transaction Language Constructs for C++

Deixar um comentário

Faça login para adicionar um comentário. Não é membro? Inscreva-se hoje mesmo!