Re: multiprocessing and SIGINT

2009-01-09 Thread Gabriel Genellina
En Fri, 09 Jan 2009 03:04:58 -0200, akineko escribió: (2) test program with multiprocessing Both processes receives SIGINT. OS apparently distributes the SIGINT event to processes associated with the terminal. Yes, to avoid that, the child process has to detach itself from the terminal. I'd

Re: multiprocessing and SIGINT

2009-01-08 Thread akineko
It is a bit awkward to respond to my posting but I have some updates. I created two simple test programs, one uses threading and another uses multiprocessing. What I found was: (1) test program with threading Only main thread receives SIGINT (generated thread won't receive SIGINT) (2) test progra