Re: [Qemu-devel] [PATCH 01/12] add a header file for atomic operations

2013-05-15 Thread Peter Maydell
On 15 May 2013 16:48, Paolo Bonzini wrote: > We're already using them in several places, but __sync builtins are just > too ugly to type, and do not provide seqcst load/store operations. This doesn't compile: CCtests/test-thread-pool.o tests/test-thread-pool.c: In function ‘worker_cb’: tes

[Qemu-devel] [PATCH 01/12] add a header file for atomic operations

2013-05-15 Thread Paolo Bonzini
We're already using them in several places, but __sync builtins are just too ugly to type, and do not provide seqcst load/store operations. Signed-off-by: Paolo Bonzini --- docs/atomics.txt | 322 +++ hw/display/qxl.c | 3 +- hw/virti