summaryrefslogtreecommitdiffstats
path: root/scripts/switch-timer-api
diff options
context:
space:
mode:
authorAlex Bennée2016-09-30 23:31:01 +0200
committerPaolo Bonzini2016-10-04 10:00:26 +0200
commitdd1f63493adbbb06fa16ed15f8fc16584f55ee81 (patch)
tree79780c3a96716ede1fbd974bcc8e74916eb380f7 /scripts/switch-timer-api
parentutil/qht: atomically set b->hashes (diff)
downloadqemu-dd1f63493adbbb06fa16ed15f8fc16584f55ee81.tar.gz
qemu-dd1f63493adbbb06fa16ed15f8fc16584f55ee81.tar.xz
qemu-dd1f63493adbbb06fa16ed15f8fc16584f55ee81.zip
linux-user/syscall: extend lock around cpu-list
There is a potential race if several threads exit at once. To serialise the exits extend the lock above the initial checking of the CPU list. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20160930213106.20186-11-alex.bennee@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions