threads and signals

Christopher Faylor cgf-no-personal-reply-please@cygwin.com
Wed Aug 24 04:50:00 GMT 2005


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 more: if I move pthread_sigmask()
>after the pause() call in the foo() function, killing works twice, but
>no more.

This should be fixed in the latest snapshot.  Or at least, it seems to
now properly emulate linux.

Thanks for the test case.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list