Wed Jun 12 04:29:00 GMT 2002
On Wed, 12 Jun 2002, Robert Collins wrote:
> > -----Original Message-----
> > From: email@example.com
> > [mailto:firstname.lastname@example.org] On Behalf Of Thomas Pfaff
> > Sent: Wednesday, 12 June 2002 9:17 PM
> > To: email@example.com
> > 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.
I can understand your reasons very well.
Please have a look at the patch und you will see what went wrong.
More information about the Cygwin-patches