Re: [sage-devel] fork and signals

2012-08-10 Thread Alexander Dreyer
Hi Jeroen, >> Had this been discussed before? Does anyone know about best practices? > If it's truly a fork(), then you get essentially two independent > processes with their own indepdendent signal handlers. > If you mean threads, that's another story and signal handling for > threads is currently

Re: [sage-devel] fork and signals

2012-08-10 Thread Jeroen Demeyer
On 2012-08-10 10:13, Alexander Dreyer wrote: > When I was wandering around in recent Singular sources (there's an spkg > update pending) I came around an issue I had never deals with before. > The question is how to handle signals, when fork is used? Or more > generally: What to do with signals, wh

[sage-devel] fork and signals

2012-08-10 Thread Alexander Dreyer
When I was wandering around in recent Singular sources (there's an spkg update pending) I came around an issue I had never deals with before. The question is how to handle signals, when fork is used? Or more generally: What to do with signals, when system calls occur? Indeed, one can switch int