Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Paul Pluzhnikov <ppluzhnikov@earthlink.net>
Subject: Re: dlopen and threaded libraries
Date: Fri, 06 Dec 2002 04:44:45 GMT	[thread overview]
Message-ID: <u65u7zrve.fsfYB8X@earthlink.net> (raw)
In-Reply-To: 194637fd.0212051024.7129e9f0@posting.google.com

quenton.pongracz@consulting.fujitsu.com (qpong) writes:

> Can dlopen be used to dynamically link to a threaded library at
> runtime?

Yes, *provided* the executable doing the dlopen() was itself built
with threads ...

> The documentation seems to suggest that this is not supported.
> According to the Tru64 UNIX Guide to DECthreads, 
> Section A.8 (Dynamic Activation)
> "Dynamic activation of the DECthreads run-time environment, or of code
> that depends on DECthreads, is currently not supported."

Meaning "IF it wasn't active during C runtime startup, it can't
become active later".

> In practice I know using dlopen works on threaded libraries, why does
> the documentation say this is not supported?

AFAIK, AIX is the only UNIX system that supports non-threaded exe
suddenly becoming multi-threaded.

Cheers,
-- 
In order to understand recursion you must first understand recursion.


  reply	other threads:[~2002-12-06  4:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-05 18:24 dlopen and threaded libraries qpong
2002-12-06  4:44 ` Paul Pluzhnikov [this message]
2002-12-06 13:25   ` David Butenhof
2002-12-07  0:04     ` Paul Pluzhnikov
2002-12-09 13:45       ` David Butenhof
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