1.5.18: pthread_kill() sends signal to wrong thread
Bart Van Assche
bart.vanassche@gmail.com
Sun Aug 7 08:32:00 GMT 2005
Hello,
While porting a pthread-application from Linux to Cygwin I found
out that pthread_kill() behaves differently on Linux and Cygwin. It
looks like with Cygwin pthread_kill() sends a signal to the caller
thread instead of the thread specified in the argument list. I have
attached a test program and the output on Linux and on Cygwin with
this E-mail (in the included output you can see that I ran the test
program once on Cygwin, and four times on Linux).
Regards,
Bart Van Assche.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ptk.cpp
URL: <http://cygwin.com/pipermail/cygwin/attachments/20050807/bab63fad/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ptk-linux.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20050807/bab63fad/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ptk-cygwin.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20050807/bab63fad/attachment-0001.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 27793 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20050807/bab63fad/attachment.obj>
-------------- next part --------------
--
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