GUnixInputStream, GUnixOutputStream: support ordinary files better
authorDan Winship <danw@gnome.org>
Tue, 27 Apr 2010 20:54:18 +0000 (16:54 -0400)
committerDan Winship <danw@gnome.org>
Sun, 13 Nov 2011 21:28:51 +0000 (16:28 -0500)
commit9b4cc6edf4a698597c0cee9a5ef4d40ad13aa888
treecf2670c6ad982d338fe8ce084dd729c9ffb2f638
parente60846dc78b9dace8d27276f7ef512e209dba7b3
GUnixInputStream, GUnixOutputStream: support ordinary files better

If the fd is not a pipe or socket, fall back to using threads to do
async I/O rather than poll, since poll doesn't work the way you want
for ordinary files.

https://bugzilla.gnome.org/show_bug.cgi?id=606913
gio/gunixinputstream.c
gio/gunixoutputstream.c