mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
replay: don't destroy mutex at exit
Replay mutex is held by vCPU thread and destroy function is called from atexit of the main thread. Therefore we cannot destroy it safely. Signed-off-by: Pavel Dovgalyuk <pavel.dovgaluk@ispras.ru> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20180227095254.1060.96971.stgit@pasha-VirtualBox> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>
This commit is contained in:
parent
a36544d34c
commit
1a423896fa
3 changed files with 0 additions and 7 deletions
|
@ -176,11 +176,6 @@ void replay_mutex_init(void)
|
|||
qemu_mutex_init(&lock);
|
||||
}
|
||||
|
||||
void replay_mutex_destroy(void)
|
||||
{
|
||||
qemu_mutex_destroy(&lock);
|
||||
}
|
||||
|
||||
bool replay_mutex_locked(void)
|
||||
{
|
||||
return replay_locked;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue