1.7.15-1: pthread_cancel and pthread_kill not working as expected

Otto Meta otto.meta@sister-shadow.de
Mon May 21 12:44:00 GMT 2012


> Would you mind to provide *simple* testcases to allow easy debugging
> of your observations?

I reduced the various tests to three rather simple individual testcases
because those show possibly different bugs.

Testcase cancel deferred:
Works with 1.7.9 and 20120517 snapshot, fails (hangs) with 1.7.12-1
and 1.7.15-1.

Testcase cancel asynchronous:
Async cancel seems to have no effect with any tested version.

Testcase signal/kill:
Signals may or may not reach the correct thread with 1.7.12-1 and newer.

Otto
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testcase_cancel_deferred.c
Type: text/x-csrc
Size: 1931 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20120521/468be402/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testcase_cancel_asynchronous.c
Type: text/x-csrc
Size: 2111 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20120521/468be402/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testcase_signal.c
Type: text/x-csrc
Size: 2488 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20120521/468be402/attachment-0002.bin>
-------------- next part --------------
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list