This is the mail archive of the cygwin@cygwin.com 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]

Re: pthreads works, sorta


On Wed, Jun 27, 2001 at 03:32:03PM +1000, Robert Collins wrote:
>> -----Original Message-----
>> From: Ross Smith [mailto:ross.s@ihug.co.nz]
>> Sent: Wednesday, June 27, 2001 3:31 PM
>> To: cygwin@cygwin.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]