delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/02/13/11:51:45

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Wed, 13 Feb 2008 11:51:03 -0500
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: pthread_kill when sig is zero
Message-ID: <20080213165103.GB15445@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20080213142351 DOT EB79477A89 AT ems008 DOT s DOT etech DOT sk>
MIME-Version: 1.0
In-Reply-To: <20080213142351.EB79477A89@ems008.s.etech.sk>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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?

cgf

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019