This is the mail archive of the
cygwin
mailing list for the Cygwin project.
pthread_kill when sig is zero
- From: "klement2" <klement2 at azet dot sk>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Wed, 13 Feb 2008 15:23:51 +0100
- Subject: pthread_kill when sig is zero
int pthread_kill(pthread_t thread, int sig);
The posix function pthread_kill (in cygwin) does not perform error
checking when the
argument sig is zero, though it should according to standard.
It means ESRCH is not returned when the thread is not valid (for example
it exited before).
Is it possible to correct this ?
--
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/