This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

1.5.18: pthread_kill() sends signal to wrong thread


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.

Attachment: ptk.cpp
Description: Text document

Attachment: ptk-linux.txt
Description: Text document

Attachment: ptk-cygwin.txt
Description: Text document

Attachment: cygcheck.out
Description: Binary data

--
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/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]