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

Charles Keepax ckeepax at opensource.wolfsonmicro.com
Sun Dec 8 15:47:48 CET 2013


On Thu, Dec 05, 2013 at 02:57:46PM +0000, Mark Brown wrote:
> 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.

Cool, I will have a look at this in more detail and respin the
series. 

Thanks,
Charles


More information about the Alsa-devel mailing list