Pthreads patches

Robert Collins
Wed Jun 12 04:22:00 GMT 2002

> -----Original Message-----
> From: 
> [] On Behalf Of Thomas Pfaff
> Sent: Wednesday, 12 June 2002 9:17 PM
> To:
> Subject: Re: Pthreads patches
> Hi Rob,
> i had a minor problem with your latest code:
> You decided to change the mutex pointer into an object. This 
> will break
> the verifyable_object_isvalid call in pthread::create.

I thought I might explain why. The usual benefit of an object pointer in
C++ is for optional objects, or for polymorphic objects. Neither applied
in this case, so a composed object is a lower overhead option.


More information about the Cygwin-patches mailing list