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


> -----Original Message-----
> From: Greg Smith [mailto:gsmith@nc.rr.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
> 
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/


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