Re: threads and signals

2005-08-24 Thread Christopher Faylor
On Thu, Aug 25, 2005 at 02:13:23AM +0200, Samuel Thibault wrote: >Christopher Faylor, le Wed 24 Aug 2005 00:49:55 -0400, a ?crit : >> On Tue, Aug 23, 2005 at 10:51:44PM +0200, Samuel Thibault wrote: >> >The attached program doesn't work as expected: if I run it and try to >> >kill it (-15), nothing

Re: threads and signals

2005-08-24 Thread Samuel Thibault
Christopher Faylor, le Wed 24 Aug 2005 00:49:55 -0400, a écrit : > On Tue, Aug 23, 2005 at 10:51:44PM +0200, Samuel Thibault wrote: > >The attached program doesn't work as expected: if I run it and try to > >kill it (-15), nothing seem happens. I if comment out > >pthread_sigmask(), it does work a

Re: threads and signals

2005-08-23 Thread Christopher Faylor
On Tue, Aug 23, 2005 at 10:51:44PM +0200, Samuel Thibault wrote: >The attached program doesn't work as expected: if I run it and try to >kill it (-15), nothing seem happens. I if comment out >pthread_sigmask(), it does work as expected: the handler is called, and >threads are interrupted. What's

threads and signals

2005-08-23 Thread Samuel Thibault
Hi, The attached program doesn't work as expected: if I run it and try to kill it (-15), nothing seem happens. I if comment out pthread_sigmask(), it does work as expected: the handler is called, and threads are interrupted. What's more: if I move pthread_sigmask() after the pause() call in the fo