Displaying 4 results from an estimated 4 matches for "except_fd".
Did you mean:
except_fds
2005 Nov 07
1
ioloop-select bug in alpha 4
...:53.000000000 -0800
+++ dovecot-1.0.alpha4/src/lib/ioloop-select.c 2005-11-06
22:07:13.000000000 -0
800
@@ -113,7 +113,7 @@
sizeof(fd_set));
memcpy(&tmp_write_fds, &ioloop->handler_context->write_fds,
sizeof(fd_set));
- memcpy(&tmp_except_fds, &ioloop->handler_data->except_fds,
+ memcpy(&tmp_except_fds, &ioloop->handler_context->except_fds,
sizeof(fd_set));
ret = select(ioloop->handler_context->highest_fd + 1,
Thanks,
Kevin
2004 May 29
1
[patch] Filename conversion
...to read
+ * - write_fd is nonnegative and can be written to
+ * - something terrible happened to either
+ * - the timeout (in milliseconds) has elapsed
+ * Return value is zero iff the timeout occured.
+ */
+char await_fds(int read_fd, int write_fd, int timeout_ms)
+{
+ fd_set read_fds, write_fds, except_fds;
+ struct timeval tv;
+ int res;
+
+ tv.tv_sec = timeout_ms/1000;
+ tv.tv_usec = (timeout_ms%1000)*1000;
+
+ while (1) {
+ FD_ZERO(&read_fds);
+ FD_ZERO(&write_fds);
+ FD_ZERO(&except_fds);
+ if (write_fd>=0) {
+ FD_SET(write_fd, &write_fds);
+ FD_SET(write_fd, &...
2013 Jul 15
21
[PATCH 00 of 21 RESEND] blktap3/drivers: Introduce tapdisk server.
This patch series copies the core of the tapdisk process from blktap2, with
updates coming from blktap2.5.
Signed-off-by: Thanos Makatos <thanos.makatos@citrix.com>
2013 Jul 15
6
[PATCH 0 of 6 RESEND v2] blktap3/sring: shared ring between tapdisk and the front-end
This patch series introduces the shared ring used by the front-end to pass
request descriptors to tapdisk, as well as responses from tapdisk to the
front-end. Requests from this ring end up in tapdisk''s standard request queue.
When the tapback daemon detects that the front-end tries to connect to the
back-end, it spawns a tapdisk and tells it to connect to the shared ring. The
shared