[alsa-devel] Third time: Unlink PCM resource ?

Werner Van Belle werner at yellowcouch.org
Mon May 25 23:25:06 CEST 2009

Takashi Iwai wrote:
> OK, I see the problem now, too.  In practice, you can get a file
> descriptor from poll descriptor, but this doesn't cover all underlying
> fds.  A new API function or an additional SND_PCM_* flag for
> snd_pcm_open() would be needed, indeed.
> In the latter case, it must be easy -- just pass O_CLOEXEC flag to
> open() call...
That handles the close on exec well, but we are talking about forks
here. There is not necessarily an exec involved in the child process.



Dr. Werner Van Belle

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20090525/1612a1a4/attachment.sig 

More information about the Alsa-devel mailing list