[linux-audio-dev] pthreads and signals

David Olofson david at olofson.net
Wed May 14 10:29:00 UTC 2003


On Wednesday 14 May 2003 14.59, Paul Davis 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 have no idea why segfaults are treated specially, or how to trap 
them, but if no documentation explains it, maybe the code in 
ElectricFence or similar debugging tool does?

I believe the SDL parachute traps segfaults as well, BTW. I'll have a 
look...


//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