diff options
author | Emilio G. Cota <cota@braap.org> | 2020-06-12 20:02:24 +0100 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2020-06-16 14:49:05 +0100 |
commit | 0c0fcc2052915c629daa2469bfae620da18b2394 (patch) | |
tree | 6dc8bbff4b256c6706333ef6515a39a624e79a43 /util/oslib-posix.c | |
parent | 0aebab04b9289bd37017593b413ce7a762b54c55 (diff) | |
download | qemu-0c0fcc2052915c629daa2469bfae620da18b2394.zip qemu-0c0fcc2052915c629daa2469bfae620da18b2394.tar.gz qemu-0c0fcc2052915c629daa2469bfae620da18b2394.tar.bz2 |
cpu: convert queued work to a QSIMPLEQ
We convert queued work to a QSIMPLEQ, instead of
open-coding it.
While at it, make sure that all accesses to the list are
performed while holding the list's lock.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Robert Foley <robert.foley@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20200609200738.445-3-robert.foley@linaro.org>
Message-Id: <20200612190237.30436-6-alex.bennee@linaro.org>
Diffstat (limited to 'util/oslib-posix.c')
0 files changed, 0 insertions, 0 deletions