Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
monitor: guard iothread access by mon->use_io_thread
monitor_resume() and monitor_suspend() both want to "kick" the I/O thread if it is there, but in monitor_suspend() lacked the use_io_thread flag condition. This is required when we later only spawn the thread on first use. Signed-off-by: Wolfgang Bumiller <[email protected]> Reviewed-by: Eric Blake <[email protected]> Reviewed-by: Peter Xu <[email protected]> Message-Id: <[email protected]> Signed-off-by: Markus Armbruster <[email protected]>
- Loading branch information