- use pthread_atfork() to disable open sound streams in the child after a fork.
commitf2c6ef7a99013bbbf3ca132304e7792bc41ab3fe
authorLennart Poettering <lennart@poettering.net>
Tue, 23 May 2006 23:06:28 +0000 (23 23:06 +0000)
committerLennart Poettering <lennart@poettering.net>
Tue, 23 May 2006 23:06:28 +0000 (23 23:06 +0000)
tree7a14213a4a35cb96b4b220dcf1cda08c2e2c65e5
parente130780a1b1c255ff411d7995aeb52d8adb9f2f7
- use pthread_atfork() to disable open sound streams in the child after a fork.
  Obviusly sound won't work in child process but at least we don't leak fds
  from the parent. Now any operation on the device fd in the child will result
  in an EBADF error, which seems somewhat clean to me.

- flush our unix socket properly on RESET ioctl

git-svn-id: svn://svn.0pointer.net/pulseaudio/trunk@953 fefdeb5f-60dc-0310-8127-8f9354f1896f
src/utils/padsp.c