Re: [linux-audio-dev] pthreads and signals

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] pthreads and signals
From: David Olofson (david_AT_olofson.net)
Date: Wed May 14 2003 - 18:49:42 EEST


On Wednesday 14 May 2003 17.15, Steve Harris wrote:
> On Wed, May 14, 2003 at 04:12:39PM +0200, David Olofson wrote:
> > > has anybody come up with code in which segfaults within threads
> > > are handled? i have a few ideas on an approach that might work,
> > > but i'm asking first :)
>
> ...
>
> > I believe the SDL parachute traps segfaults as well, BTW. I'll
> > have a look...
>
> Yes, it does, I've noticed it doing that on meterbridge, which is a
> jack app.

Yeah... However, I realized why it doesn't do anything special: It
cleans up and terminates the application before leaving the signal
handler, so it never runs into the "life after death" problem.

//David Olofson - Programmer, Composer, Open Source Advocate

.- The Return of Audiality! --------------------------------.
| Free/Open Source Audio Engine for use in Games or Studio. |
| RT and off-line synth. Scripting. Sample accurate timing. |
`-----------------------------------> http://audiality.org -'
   --- http://olofson.net --- http://www.reologica.se ---


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Wed May 14 2003 - 19:13:36 EEST