diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2023-03-03 11:07:04 +0100 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2023-04-29 14:19:01 +0200 |
| commit | 42abcc584174166342297421209932a87bdb85f1 (patch) | |
| tree | 229e9f884e4bb48e74b2bfdbb99f4e9ded19280b /util/async.c | |
| parent | d66ba6dc1cce914673bd8a89fca30a7715ea70d1 (diff) | |
| download | focaccia-qemu-42abcc584174166342297421209932a87bdb85f1.tar.gz focaccia-qemu-42abcc584174166342297421209932a87bdb85f1.zip | |
cpus-common: stop using mb_set/mb_read
Use a store-release at the end of the work item, and a load-acquire when waiting for the item to be completed. This is the standard message passing pattern and is both enough and clearer than mb_read/mb_set. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'util/async.c')
0 files changed, 0 insertions, 0 deletions