From: Mark Brown <broonie@kernel.org>
To: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Cc: vinod.koul@linux.intel.com, patches@opensource.wolfsonmicro.com,
alsa-devel@alsa-project.org
Subject: Re: [PATCH 2/2 v2] crec: Add primitive exception handling
Date: Tue, 3 Dec 2013 20:18:28 +0000 [thread overview]
Message-ID: <20131203201828.GC29268@sirena.org.uk> (raw)
In-Reply-To: <20131203182256.GL27568@sirena.org.uk>
[-- Attachment #1.1: Type: text/plain, Size: 335 bytes --]
On Tue, Dec 03, 2013 at 06:22:56PM +0000, Mark Brown wrote:
> You can't safely do most of this such as calling fclose() from within a
> signal handler, the set of functions that are guaranteed safe is quite
> limited - see signal(7).
I should also have mentioned that it looks like you're probably looking
for setvbuf() with _IONBF.
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
next prev parent reply other threads:[~2013-12-03 20:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-03 16:27 [PATCH 1/2 v2] crec: Initial version of a compressed capture utility Charles Keepax
2013-12-03 16:27 ` [PATCH 2/2 v2] crec: Add primitive exception handling Charles Keepax
2013-12-03 18:22 ` Mark Brown
2013-12-03 20:18 ` Mark Brown [this message]
2013-12-05 14:25 ` Charles Keepax
2013-12-05 14:57 ` Mark Brown
2013-12-08 14:47 ` Charles Keepax
2013-12-11 11:15 ` Dimitris Papastamos
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=20131203201828.GC29268@sirena.org.uk \
--to=broonie@kernel.org \
--cc=alsa-devel@alsa-project.org \
--cc=ckeepax@opensource.wolfsonmicro.com \
--cc=patches@opensource.wolfsonmicro.com \
--cc=vinod.koul@linux.intel.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).