diff options
author | Paolo Bonzini | 2012-10-31 10:09:11 +0100 |
---|---|---|
committer | Paolo Bonzini | 2012-10-31 10:38:01 +0100 |
commit | 19d092cf9ba3c01b0e22ef65c499ae7ddc28d0e8 (patch) | |
tree | 42531fcfcc0eebe598a900a8f0d9e5b289808abb /posix-aio-compat.c | |
parent | aio: add generic thread-pool facility (diff) | |
download | qemu-19d092cf9ba3c01b0e22ef65c499ae7ddc28d0e8.tar.gz qemu-19d092cf9ba3c01b0e22ef65c499ae7ddc28d0e8.tar.xz qemu-19d092cf9ba3c01b0e22ef65c499ae7ddc28d0e8.zip |
threadpool: do not take lock in event_notifier_ready
The ordering is:
worker thread consumer thread
-------------------------------------------------------------------
write ret event_notifier_test_and_clear
wmb() read state
write state rmb()
event_notifier_set read ret
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'posix-aio-compat.c')
0 files changed, 0 insertions, 0 deletions