When trying to support monitor OOB (out-of-band) commands, I found
that the monitor IO thread I did looks just like iothread. It would
be best if I can use iothread directly. However it seems that it was
mostly used by "-object iothread" before but not friendly to internal
usages. This series tries to export essential functions to do it.
Also, I think patch 2 also fixes a bug in iothread_stop().
Please review. Thanks.
Peter Xu (3):
iothread: provide helpers for internal use
iothread: export iothread_stop()
iothread: delay the context release to finalize
include/sysemu/iothread.h | 9 +++++++++
iothread.c | 51 +++++++++++++++++++++++++++++++++++++----------
2 files changed, 50 insertions(+), 10 deletions(-)
--
2.7.4