pthreads works, sorta

Christopher Faylor cgf@redhat.com
Tue Jun 26 23:28:00 GMT 2001


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/



More information about the Cygwin mailing list