Krux02, from what I've read about lockfree (namely Jeff Preshing's blog: 
[http://preshing.com](http://forum.nim-lang.org///preshing.com)/ ), one 
requirement for atomics in x86 (and other architectures) are aligned variables. 
And about the types anything from 1 to four bytes.

Araq,I have already tried that, my problem is that I can't use it inside 
objects nor tuples, and while I've yet to try I think I can't use it on 
typedefs neither. I know MSVC always align,but how do I know gcc/clang may 
align them, from what I've tested gcc aligns global variables. 

Reply via email to