try to use send(,,MSG_NOSIGNAL) instead of write() wherever possible (which
authorLennart Poettering <lennart@poettering.net>
Fri, 14 Jul 2006 22:42:01 +0000 (22:42 +0000)
committerLennart Poettering <lennart@poettering.net>
Fri, 14 Jul 2006 22:42:01 +0000 (22:42 +0000)
commit860be2e70b33ff5eeb9130f80c4b1c096a2a8f27
treea3193083ecdb5055a4536c22ea394c8243731571
parent350a253dc559956b63ced4e602b1040ccba66f98
try to use send(,,MSG_NOSIGNAL) instead of write() wherever possible (which
will allow us to drop the SIGPIPE check). Cache the results of the last
write()/send() to make sure that we do not issue more than necessary system
calls.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1083 fefdeb5f-60dc-0310-8127-8f9354f1896f
17 files changed:
src/daemon/cpulimit.c
src/daemon/main.c
src/modules/module-esound-compat-spawnfd.c
src/modules/module-jack-sink.c
src/modules/module-jack-source.c
src/modules/module-mmkbd-evdev.c
src/modules/module-oss.c
src/pulse/mainloop-signal.c
src/pulse/mainloop.c
src/pulse/xmalloc.c
src/pulsecore/authkey.c
src/pulsecore/core-util.c
src/pulsecore/core-util.h
src/pulsecore/iochannel.c
src/pulsecore/pid.c
src/pulsecore/random.c
src/tests/mcalign-test.c