Re: [Qemu-devel] [PATCH v2 2/3] bitops: drop volatile qualifier

2012-07-09 Thread Peter Maydell
On 8 July 2012 20:22, wrote: > From: Blue Swirl > > Qualifier 'volatile' is not useful for applications, it's too strict > for single threaded code but does not give the real atomicity guarantees > needed for multithreaded code. > > Drop them. > > Signed-off-by: Blue Swirl Reviewed-by: Peter M

[Qemu-devel] [PATCH v2 2/3] bitops: drop volatile qualifier

2012-07-08 Thread blauwirbel
From: Blue Swirl Qualifier 'volatile' is not useful for applications, it's too strict for single threaded code but does not give the real atomicity guarantees needed for multithreaded code. Drop them. Signed-off-by: Blue Swirl --- bitops.h | 18 +++--- 1 files changed, 7 inserti