Pthread patches for TLS

Daniel Eischen eischen at vigrid.com
Thu Aug 5 08:06:13 PDT 2004


On Thu, 5 Aug 2004, Doug Rabson wrote:

> I haven't tried to support static linked TLS at all. The plan is to get 
> the kernel to size the TLS segment and add extra AUXARGs to report its 
> size, initialiser location and alignment. The stubs in libc/gen/tls.c 
> would be extended to provide support for allocating the TLS blocks in 
> the static case.
> 
> I was under the impression that no-one particularly wanted to support 
> pthreads in statically linked binaries?

The thread guys don't want to support static thread libraries ;-)
But I proposed this a few months ago (year?) in -current and there
was some reluctance.  Imp was one that was against it (from what I
can remember).  The reason given was speed of static binaries is
faster than dynamic.  I didn't force the issue any more than that.
That's how I recall it anyways.  I'll have to search the list
archives to see if I can find the thread.

-- 
Dan Eischen



More information about the freebsd-threads mailing list