qemu-e2k/include/qemu
Paolo Bonzini f96a8cc3c6 seqlock: use atomic writes for the sequence
There is a data race if the sequence is written concurrently to the
read.  In C11 this has undefined behavior.  Use atomic_set; the
read side is already using atomic_read.

Reported-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20160930213106.20186-6-alex.bennee@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2016-10-04 10:00:26 +02:00
..
acl.h
atomic.h atomic.h: comment on use of atomic_read/set 2016-10-04 10:00:25 +02:00
base64.h
bcd.h
bitmap.h
bitops.h
bswap.h
buffer.h
compatfd.h
compiler.h compiler: Swap 'public domain' header for license 2016-09-27 11:57:29 +02:00
config-file.h
coroutine_int.h
coroutine.h coroutine: add qemu_coroutine_entered() function 2016-09-28 17:11:23 +01:00
crc32c.h
cutils.h
envlist.h
error-report.h
event_notifier.h
fifo8.h
fifo32.h
fprintf-fn.h
hbitmap.h
help_option.h
host-utils.h
id.h
int128.h
iov.h
jhash.h Jhash: add linux kernel jhashtable in qemu 2016-09-27 17:54:21 +08:00
log.h
main-loop.h
memfd.h
mmap-alloc.h
module.h
notify.h
option_int.h
option.h
osdep.h
path.h
processor.h
qdist.h
qht.h
queue.h
range.h
ratelimit.h
rcu_queue.h
rcu.h
readline.h
rfifolock.h
seqlock.h seqlock: use atomic writes for the sequence 2016-10-04 10:00:26 +02:00
sockets.h
thread-posix.h
thread-win32.h
thread.h
throttle.h
timed-average.h
timer.h
typedefs.h
unicode.h
uri.h
uuid.h vl: Switch qemu_uuid to QemuUUID 2016-09-23 11:42:52 +08:00
xattr.h