delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/27/02:34:07

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Wed, 27 Jun 2001 02:29:01 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: pthreads works, sorta
Message-ID: <20010627022901.P19058@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <EA18B9FA0FE4194AA2B4CDB91F73C0EF7A0E AT itdomain002 DOT itdomain DOT net DOT au>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <EA18B9FA0FE4194AA2B4CDB91F73C0EF7A0E@itdomain002.itdomain.net.au>; from robert.collins@itdomain.com.au on Wed, Jun 27, 2001 at 03:32:03PM +1000

On Wed, Jun 27, 2001 at 03:32:03PM +1000, Robert Collins wrote:
>> -----Original Message-----
>> From: Ross Smith [mailto:ross DOT s AT ihug DOT co DOT nz]
>> Sent: Wednesday, June 27, 2001 3:31 PM
>> To: cygwin AT cygwin DOT com
>> Subject: Re: pthreads works, sorta
>> 
>> 
>> Robert Collins wrote:
>> > 
>> > What does all this mean? We need to catch invalid memroy access,
>> 
>> Why? A program that passes an invalid thread handle is broken.
>> Penalising non-broken programs merely to provide better error checking
>> for broken ones doesn't sound reasonable to me.
>> 
>
>Even though the POSIX behaviour is undefined for passed invalid thread
>variables, cygwin1.dll locking up is not a pretty way to handle failure.

I agree.  We always try to go for non-crashing over speed.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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