aboutsummaryrefslogtreecommitdiff
path: root/qga
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2016-09-30 22:31:01 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2016-10-04 10:00:26 +0200
commitdd1f63493adbbb06fa16ed15f8fc16584f55ee81 (patch)
tree79780c3a96716ede1fbd974bcc8e74916eb380f7 /qga
parenta890643958f03aaa344290700093b280cb606c28 (diff)
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 'qga')
0 files changed, 0 insertions, 0 deletions