From: Dave Butenhof <butenhof@zko.dec.com>
Subject: Re: static pthread lib?
Date: 1997/05/08 [thread overview]
Message-ID: <33722AE4.237C@zko.dec.com> (raw)
In-Reply-To: 336E04D2.41C6@latrade.com
Steffen Ullrich wrote:
>
> does anybody knows where to get a static version of the libpthreads.so?
> and BTW, why there are a libpthreads.so, libpthread.so and a
> libpthreaddebug.so in /usr/shlib.
There is no way to get a static version of libpthreads.so. There's no
such thing on Digital UNIX 4.0. This was deliberate, and there are a lot
of extremely good reasons for it, but we've caved into popular pressure
and there will be statics available in some future release.
libpthread.so is the implementation of the POSIX thread API (1003.1c)
libpthreads.so is the "legacy" library that implements the obsolete CMA
and DCE thread APIs (it calls libpthread.so).
(Note that if you're not using the CMA or DCE thread interfaces, you
don't care about libpthreads.so [or libpthreads.a] and shouldn't be
using it -- the standard "cc -pthread" build will not include it. And,
if you are using CMA or DCE threads, you'll need to have BOTH
libpthreads and libpthread in the same form, whether that's static or
shared, which should be achieved by building with "cc -threads".)
libpthreaddebug.so is a debug-support library, used by ladebug (and
other debuggers from various third parties) to help a debugger figure
out what's going on in a threaded process. The interface isn't
documented, though we may add a man page for a future version once we've
gotten wider experience and feedback. Digital UNIX 4.0 didn't ship the
header file, but that (<pthread_debug.h>) will be part of the Digital
UNIX 4.0D kit. (For anyone who is interested in using this, beware that
we do not guarantee that we won't make incompatible changes to
libpthreaddebug.so interfaces whenever it's convenient. On the other
hand, I changed just about everything for 4.0D and managed to maintain
binary compatibility with debuggers built against the 4.0 interface, so
one might foolishly take that as the implication of some sort of
illusion of an humanitarian intent [it really just means that I wanted
to test it before I gave the new interface to a debugger -- but there's
always some chance that this will be true the next time around ;-) ].)
/---[ Dave Butenhof ]-----------------------[ butenhof@zko.dec.com ]---\
| Digital Equipment Corporation 110 Spit Brook Rd ZKO2-3/Q18 |
| 603.881.2218, FAX 603.881.0120 Nashua NH 03062-2698 |
\-----------------[ Better Living Through Concurrency ]----------------/
prev parent reply other threads:[~1997-05-08 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-05-05 4:00 static pthread lib? Steffen Ullrich
1997-05-08 4:00 ` Dave Butenhof [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox