commit | dd1f63493adbbb06fa16ed15f8fc16584f55ee81 | [log] [tgz] |
---|---|---|
author | Alex Bennée <alex.bennee@linaro.org> | Fri Sep 30 22:31:01 2016 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue Oct 04 10:00:26 2016 +0200 |
tree | 79780c3a96716ede1fbd974bcc8e74916eb380f7 | |
parent | a890643958f03aaa344290700093b280cb606c28 [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>