Re: [Alsa-devel] exit() - _exit() in pcm_direct.c

2003-08-14 Thread Jaroslav Kysela
On Tue, 5 Aug 2003, Takashi Iwai wrote: At Wed, 30 Jul 2003 23:21:52 +0400, Konstantin Stepaniuk wrote: Jaroslav Kysela wrote: On Wed, 30 Jul 2003, Konstantin Stepaniuk wrote: Hello. My program call snd_pcm_open() with plug:dmix in thread. Function

Re: [Alsa-devel] exit() - _exit() in pcm_direct.c

2003-08-07 Thread Takashi Iwai
At Wed, 30 Jul 2003 23:21:52 +0400, Konstantin Stepaniuk wrote: Jaroslav Kysela wrote: On Wed, 30 Jul 2003, Konstantin Stepaniuk wrote: Hello. My program call snd_pcm_open() with plug:dmix in thread. Function snd_pcm_direct_server_create() hangs on waitpid() if exit() is used,

[Alsa-devel] exit() - _exit() in pcm_direct.c

2003-07-30 Thread Konstantin Stepaniuk
Hello. My program call snd_pcm_open() with plug:dmix in thread. Function snd_pcm_direct_server_create() hangs on waitpid() if exit() is used, and server_job process keeps alive after program exit. This trivial patch chages exit() to _exit() in file pcm_direct.c. In this case all works ok for

Re: [Alsa-devel] exit() - _exit() in pcm_direct.c

2003-07-30 Thread Jaroslav Kysela
On Wed, 30 Jul 2003, Konstantin Stepaniuk wrote: Hello. My program call snd_pcm_open() with plug:dmix in thread. Function snd_pcm_direct_server_create() hangs on waitpid() if exit() is used, and server_job process keeps alive after program exit. This trivial patch chages exit() to _exit()

Re: [Alsa-devel] exit() - _exit() in pcm_direct.c

2003-07-30 Thread Konstantin Stepaniuk
Jaroslav Kysela wrote: On Wed, 30 Jul 2003, Konstantin Stepaniuk wrote: Hello. My program call snd_pcm_open() with plug:dmix in thread. Function snd_pcm_direct_server_create() hangs on waitpid() if exit() is used, and server_job process keeps alive after program exit. This trivial patch