All of lore.kernel.org
 help / color / mirror / Atom feed
From: Werner Van Belle <werner@yellowcouch.org>
To: Takashi Iwai <tiwai@suse.de>
Cc: "alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>
Subject: Re: Third time: Unlink PCM resource ?
Date: Mon, 25 May 2009 23:25:06 +0200	[thread overview]
Message-ID: <4A1B0CB2.2060103@yellowcouch.org> (raw)
In-Reply-To: <s5h7i05vxol.wl%tiwai@suse.de>


[-- Attachment #1.1: Type: text/plain, Size: 592 bytes --]

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.

Wkr,

Werner,-

-- 
Dr. Werner Van Belle
http://werner.yellowcouch.org/



[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

      parent reply	other threads:[~2009-05-25 21:23 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-25 15:30 Third time: Unlink PCM resource ? Werner Van Belle
2009-05-25 15:43 ` Takashi Iwai
2009-05-25 17:52   ` Werner Van Belle
2009-05-25 18:09     ` Jaroslav Kysela
2009-05-25 18:15       ` Werner Van Belle
2009-05-25 18:18     ` Takashi Iwai
2009-05-25 18:27       ` Werner Van Belle
2009-05-25 18:31         ` Jaroslav Kysela
2009-05-25 18:38           ` Takashi Iwai
2009-05-25 18:34         ` Takashi Iwai
2009-05-25 18:39           ` Jaroslav Kysela
2009-05-25 19:36             ` Werner Van Belle
2009-05-25 21:54               ` Jaroslav Kysela
2009-05-25 22:29                 ` Werner Van Belle
2009-05-26  5:53             ` Takashi Iwai
2009-05-26  8:14               ` Werner Van Belle
2009-05-26  8:17                 ` Takashi Iwai
2009-07-07 15:06                   ` Takashi Iwai
2009-05-25 21:25           ` Werner Van Belle [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A1B0CB2.2060103@yellowcouch.org \
    --to=werner@yellowcouch.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.