diff options
author | Thomas Martitz <kugel@rockbox.org> | 2012-08-20 23:50:37 +0200 |
---|---|---|
committer | Arun Raghavan <arun.raghavan@collabora.co.uk> | 2012-10-23 12:12:02 +0530 |
commit | c327850d9e4479a0572b7baaf8dafd737586e5a1 (patch) | |
tree | b292fbae65edbfe86d3887aebd680fb1b878f360 /src/utils | |
parent | c1637652eaf3682dc2b5aa8c87b45552a8e1cf67 (diff) |
core: Transparently handle non-blocking sockets on Windows
On Windows, fdsem.c:flush() fails because sockets are set to non-blocking
mode, since pa_read() returns -1 (and errno == EWOULDBLOCK). I guess pa_read()
is expected to block in this case so make it actually block by calling poll().
Diffstat (limited to 'src/utils')
0 files changed, 0 insertions, 0 deletions