delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/27/00:30:52

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
Message-ID: <3B396269.8631F218@nc.rr.com>
Date: Wed, 27 Jun 2001 00:34:49 -0400
From: Greg Smith <gsmith AT nc DOT rr DOT com>
X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: pthreads works, sorta
References: <EA18B9FA0FE4194AA2B4CDB91F73C0EF08F09E AT itdomain002 DOT itdomain DOT net DOT au> <3B396158 DOT 36C92CB0 AT nc DOT rr DOT com>

Robert Collins wrote:
>
> > -----Original Message-----
> > From: Greg Smith [mailto:gsmith AT nc DOT rr DOT com]
>
> >
> > More experimenting with my home computer, dual pIII 850:
> >
> > 1. 117  157 328
> > 2. 822 1527 ---
> > 3. 194  240 453
> > 4. 169  181 516
> >
    5. 190  255 471

Row 5 being current cygwin + the suggestion below.
Guess that's why they pay you the big bucks Rob  ;-)
[maybe the middle element in row 4 should have been 241;
 perhaps I dropped a minute on my timing]

Greg

> As usual, I write a missive, then solve the puzzle.
>
> try this:
>
> int __stdcall
> check_valid_pointer (void *pointer)
> {
>   if (!pointer || IsBadWritePtr(pointer, sizeof (verifyable_object)))
>     return EFAULT;
>   return 0;
> }
>
> Rob

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