mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
use eventfd for iothread
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
This commit is contained in:
parent
bf76bafa5a
commit
f3dfda6114
3 changed files with 38 additions and 4 deletions
|
@ -170,6 +170,7 @@ ssize_t qemu_write_full(int fd, const void *buf, size_t count)
|
|||
void qemu_set_cloexec(int fd);
|
||||
|
||||
#ifndef _WIN32
|
||||
int qemu_eventfd(int pipefd[2]);
|
||||
int qemu_pipe(int pipefd[2]);
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue