Re: pthread_kill when sig is zero

2008-02-13 Thread Christopher Faylor
On Wed, Feb 13, 2008 at 11:51:03AM -0500, Christopher Faylor wrote: >On Wed, Feb 13, 2008 at 03:23:51PM +0100, klement2 wrote: >> >>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 i

Re: pthread_kill when sig is zero

2008-02-13 Thread Christopher Faylor
On Wed, Feb 13, 2008 at 03:23:51PM +0100, klement2 wrote: > >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

pthread_kill when sig is zero

2008-02-13 Thread klement2
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 possi