[alsa-devel] [PATCH 2/2 v2] crec: Add primitive exception handling

Mark Brown broonie at kernel.org
Thu Dec 5 15:57:46 CET 2013

On Thu, Dec 05, 2013 at 02:25:28PM +0000, Charles Keepax wrote:

> Tricky thing is making 100% sure we don't enter a poll
> after we have received the signal, especially if we are just
> using the standard pattern of communicating the signal using a
> sig_atomic_t.

If you don't buffer and use Unix I/O rather than stdio for any I/O in
the handler you can exit happily from the handler IIRC, the big problem
is stdio.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20131205/b5bcbecf/attachment.sig>

More information about the Alsa-devel mailing list