diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2016-05-16 18:33:59 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-05-23 16:53:45 +0200 |
commit | a2d1761da1de2c4d08f51067b2af8cf6d95899ee (patch) | |
tree | d2befcd65313d11ab50f0aa78de370c5eb704270 /tcg | |
parent | e4e697940dff612b789b0858270c20a8b680f78d (diff) | |
download | qemu-a2d1761da1de2c4d08f51067b2af8cf6d95899ee.tar.gz qemu-a2d1761da1de2c4d08f51067b2af8cf6d95899ee.tar.bz2 qemu-a2d1761da1de2c4d08f51067b2af8cf6d95899ee.zip |
cpus.c: Use pthread_sigmask() rather than sigprocmask()
On Linux, sigprocmask() and pthread_sigmask() are in practice the
same thing (they only set the signal mask for the calling thread),
but the documentation states that the behaviour of sigprocmask() in a
multithreaded process is undefined. Use pthread_sigmask() instead
(which is what we do in almost all places in QEMU that alter the
signal mask already).
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <1463420039-29761-1-git-send-email-peter.maydell@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tcg')
0 files changed, 0 insertions, 0 deletions