Handle pipes on platforms where they are non-existant of broken.
authorPierre Ossman <ossman@cendio.se>
Thu, 11 May 2006 11:08:58 +0000 (11:08 +0000)
committerPierre Ossman <ossman@cendio.se>
Thu, 11 May 2006 11:08:58 +0000 (11:08 +0000)
commit48d66cd5e89764b00fe225db4823b3392a759942
tree0e60a5cf549d07f6be53e60fa83b355fd77a7094
parent12d4b5d952c7a284fd081966a02d34d94dd6be10
Handle pipes on platforms where they are non-existant of broken.
We do this by creating a TCP socket pair instead of a normal pipe. Since
Windows isn't UNIX-y enough to support read()/write() on sockets, we also
need a wrapper to handle read() vs recv() and write() vs send().

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@840 fefdeb5f-60dc-0310-8127-8f9354f1896f
configure.ac
src/Makefile.am
src/polyp/mainloop-signal.c
src/polyp/mainloop.c
src/polypcore/iochannel.c
src/polypcore/pipe.c [new file with mode: 0644]
src/polypcore/pipe.h [new file with mode: 0644]
src/polypcore/util.c
src/polypcore/util.h