Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Oct 2002 11:59:26 -0800
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Chad David <davidc@issci.ca>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: Objective-C threads
Message-ID:  <3DC03A1E.6F4B7DE8@mindspring.com>
References:  <20021029190941.A43525@newton.issci.ca> <20021030031156.GA76120@dragon.nuxi.com> <20021029210216.A45337@newton.issci.ca> <20021030101707.GA80447@dragon.nuxi.com> <20021030091626.B58476@newton.issci.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
Chad David wrote:
> In your experience, how long is the delay between gcc-patches accepting
> something and FreeBSD picking it up, ie. is it worth the effort?

Jeremey Allison (of SAMBA) and I made patches to ACAP to get it
to compile under G++, and that required patches to G++ 2.9.3 to
support per thread exception handlers.

It took about 6 months to get them into ECC, and the ones they
added to ECC bloated the library in the non-threads case, rather
than registering the handlers in the thread creation case only,
like Jeremy originally had it doing.

It took another 6 months before the new compiler made it into
FreeBSD.

So expect it to take you about a year, particularly since 3.2.1
was just imported for the 5.x release, and the compiler is not
very likely to have a major number upgrade until 6.x.

IMO, you are better off doing it as a patch in the FreeBSD tree,
if you want it to work in FreeBSD in less than a year, but you
should *also* send it into the GCC people, because if you don't,
they'll potentially fix it the wrong way for your application,
and their code will conflict with your patch, and you'll be
hating life.

-- Terry

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DC03A1E.6F4B7DE8>