
12 Jan
2013
12 Jan
'13
7:06 p.m.
On January 12, 2013 9:57:22 PM "Vicente J. Botet Escriba" <vicente.botet@wanadoo.fr> wrote:
What I was asking for is just a patch to ensure that
typedef unsigned long uintmax_atomic_t;
is atomic in all platforms.
One more note. Is your idea to have a typedef for an integer type that is guaranteed to be supported by atomic ops across all platforms? If so, I don't think this is feasible. Most architectures support atomic ops on 32 bit operands but that is still not a general solution.