[linux-audio-dev] pthreads and signals
David Olofson
david at olofson.net
Wed May 14 12:09:39 UTC 2003
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 ---
More information about the Linux-audio-dev
mailing list