Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* static pthread lib?
@ 1997-05-05  4:00 Steffen Ullrich
  1997-05-08  4:00 ` Dave Butenhof
  0 siblings, 1 reply; 2+ messages in thread
From: Steffen Ullrich @ 1997-05-05  4:00 UTC (permalink / raw)



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.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: static pthread lib?
  1997-05-05  4:00 static pthread lib? Steffen Ullrich
@ 1997-05-08  4:00 ` Dave Butenhof
  0 siblings, 0 replies; 2+ messages in thread
From: Dave Butenhof @ 1997-05-08  4:00 UTC (permalink / raw)



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 ]----------------/



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-05-08  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-05-05  4:00 static pthread lib? Steffen Ullrich
1997-05-08  4:00 ` Dave Butenhof

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox