Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Paul Pluzhnikov <ppluzhnikov@earthlink.net>
Subject: Re: dlopen and threaded libraries
Date: Sat, 07 Dec 2002 00:04:53 GMT	[thread overview]
Message-ID: <m3wummg252.fsf@salmon.parasoft.com> (raw)
In-Reply-To: nm1I9.17$Vh6.235573@news.cpqcorp.net

David Butenhof <David.Butenhof@hp.com> writes:

> Paul Pluzhnikov wrote:
> > AFAIK, AIX is the only UNIX system that supports non-threaded exe
> > suddenly becoming multi-threaded.
> 
> Really? Are you sure about that?

Perhaps I am reading more than what is written?
http://www-1.ibm.com/servers/esdd/pdfs/aix_ll.pdf (page 23):

  With the introduction of AIX 4.3, all system libraries are now
  inherently thread-enabled. libc contains a mechanism whereby
  it can detect whether the pthreads environment must be enabled,
  and will perform all initialization required to support pthreads
  at program start-up, as well as at the time that libpthreads
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  is introduced into a running process via dynamic loading. This
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  means that a program can be constructed in a manner that does not
  take advantage of threads, but may become a threaded program due
  to a module dependency hierarchy that incorporates the pthreads
  library. It is advantageous to consider support for threads when
  an application is built.

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


  reply	other threads:[~2002-12-07  0:04 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
2002-12-06 13:25   ` David Butenhof
2002-12-07  0:04     ` Paul Pluzhnikov [this message]
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