Re: [PATCH v2] compat: Add another rudimentary poll() emulation

From
Johannes Sixt <hidden>
Date
2016-06-15 22:48:52
Reply to
Jonathan Nieder, 2016-06-15
On Sonntag, 30. Mai 2010, Jonathan Nieder wrote:
I would be interested to hear whether this works on msysgit and Interix.
It cannot work on msysgit because

- on Windows, select() works only for sockets, but we poll() on pipes, too;

- in our emulation layer, fds that are sockets must be unpacked with 
_get_osfhandle() before they can be passed to FD_SET() because (as Paolo has 
pointed out) FD_SET() must be populated with handles, not fds.

-- Hannes
Thread (39 messages) 39 messages, 14 authors, last reply 2016-06-15
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help