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]

Re: pthread_kill when sig is zero


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 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 ?
>
>Yes.  I'll fix current CVS.
>
>Do you happen to have a simple test case which demonstrates this problem?

A new snapshot has been generated with the fix:

http://cygwin.com/snapshots/

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