diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2014-12-02 12:05:47 +0100 |
|---|---|---|
| committer | Stefan Hajnoczi <stefanha@redhat.com> | 2015-01-13 13:43:29 +0000 |
| commit | c740ad92d0d958fa785e5d7aa1b67ecaf30a6a54 (patch) | |
| tree | 9294b5dcdf00456ad6f8823ef7891d76ff45e003 /hw/lm32/lm32_hwsetup.h | |
| parent | 6d86ae0824bdd6175dd3874688a871e981093888 (diff) | |
| download | focaccia-qemu-c740ad92d0d958fa785e5d7aa1b67ecaf30a6a54.tar.gz focaccia-qemu-c740ad92d0d958fa785e5d7aa1b67ecaf30a6a54.zip | |
QSLIST: add lock-free operations
These operations are trivial to implement and do not have ABA problems. They are enough to implement simple multiple-producer, single consumer lock-free lists or, as in the next patch, the multiple consumers can steal a whole batch of elements and process them at their leisure. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Fam Zheng <famz@redhat.com> Message-id: 1417518350-6167-5-git-send-email-pbonzini@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/lm32/lm32_hwsetup.h')
0 files changed, 0 insertions, 0 deletions