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.

publicaciones de 4 / 0 nuevos
Último envío
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.

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++

Inicie sesión para dejar un comentario.