forked from mirror/qemu
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ec5b6c9c5d
The initial implementation was changing the pipe state created by GLib to PIPE_NOWAIT, but it turns out it doesn't work (read/write returns an error). Since reading may return less than the requested amount, it seems to be non-blocking already. However, the IO operation may block until the FD is ready, I can't find good sources of information, to be safe we can just poll for readiness before. Alternatively, we could setup the FDs ourself, and use UNIX sockets on Windows, which can be used in blocking/non-blocking mode. I haven't tried it, as I am not sure it is necessary. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Message-Id: <20221006113657.2656108-6-marcandre.lureau@redhat.com> |
2 years ago | |
---|---|---|
.. | ||
channel-buffer.h | 4 years ago | |
channel-command.h | 2 years ago | |
channel-file.h | 4 years ago | |
channel-null.h | 2 years ago | |
channel-socket.h | 3 years ago | |
channel-tls.h | 4 years ago | |
channel-util.h | 4 years ago | |
channel-watch.h | 4 years ago | |
channel-websock.h | 4 years ago | |
channel.h | 3 years ago | |
dns-resolver.h | 4 years ago | |
net-listener.h | 4 years ago | |
task.h | 4 years ago |