diff options
author | Alex Bennée | 2018-02-27 10:52:37 +0100 |
---|---|---|
committer | Paolo Bonzini | 2018-03-12 16:12:50 +0100 |
commit | 180d30bebeff8e3687b50bd55d44e6a5a83bc4da (patch) | |
tree | 289db24d64dfd4d1becce5d05f5e8031d0ef1c5c /util/main-loop.c | |
parent | replay/replay.c: bump REPLAY_VERSION again (diff) | |
download | qemu-180d30bebeff8e3687b50bd55d44e6a5a83bc4da.tar.gz qemu-180d30bebeff8e3687b50bd55d44e6a5a83bc4da.tar.xz qemu-180d30bebeff8e3687b50bd55d44e6a5a83bc4da.zip |
replay/replay-internal.c: track holding of replay_lock
This is modelled after the iothread mutex lock. We keep a TLS flag to
indicate when that thread has acquired the lock and assert we don't
double-lock or release when we shouldn't have.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Pavel Dovgalyuk <pavel.dovgaluk@ispras.ru>
Message-Id: <20180227095237.1060.44661.stgit@pasha-VirtualBox>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'util/main-loop.c')
0 files changed, 0 insertions, 0 deletions