mirror of
https://github.com/qemu/qemu.git
synced 2026-11-10 22:04:44 +00:00
71973b046120a13df4eaa9143bed5ba8a67abc7f
Outside the safety of the global mutex we need to poll on file descriptors. I found epoll(2) is a convenient way to do that, although other options could replace this module in the future (such as an AioContext-based loop or glib's GMainLoop). One important feature of this small event loop implementation is that the loop can be terminated in a thread-safe way. This allows QEMU to stop the data plane thread cleanly. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
…
…
…
…
…
…
…
…
Read the documentation in qemu-doc.html or on http://wiki.qemu.org - QEMU team
Description
Languages
C
83.4%
C++
6%
Python
3.5%
Dylan
2.7%
Shell
1.2%
Other
3%