Thread (1 message) 1 message, 1 author, 2015-05-02

[Bug 95331] fcntl.2 + sigaction.2 + signal.7 need further information about use of a SA_SIGINFO signal handler that uses si->si_fd

From: <hidden>
Date: 2015-05-02 20:10:33

https://bugzilla.kernel.org/show_bug.cgi?id=95331
--- Comment #7 from Jason Vas Dias <jason.vas.dias-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
Note that poll() or select() return immediately for writable pipe file
descriptors
on which there are no readers with open file descriptors with :
  pollfd.revents & ( POLL_ERR | POLLOUT )  set, so one cannot set 
  struct pollfd's events' POLLOUT bit and then use poll() or select()
  without some form of busy-waiting or nanosleep() or user-space polling,
  thus making 100% SIGIO driven I/O on pipes impossible IMHO .

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help