]> git.proxmox.com Git - mirror_qemu.git/commit
test-aio-multithread: do not use mb_read/mb_set for simple flags
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 3 Mar 2023 10:57:06 +0000 (11:57 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 8 May 2023 09:10:48 +0000 (11:10 +0200)
commit4f7335e21d5170986e20001b9ddb906fe24413f1
treef6fc4cdc2c6154279d1035c3bd6d8bbf39682220
parent6e288b00ef536f87910f76cb1940a8caced69c54
test-aio-multithread: do not use mb_read/mb_set for simple flags

The remaining use of mb_read/mb_set is just to force a thread to exit
eventually.  It does not order two memory accesses and therefore can be
just read/set.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tests/unit/test-aio-multithread.c