libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC] pre-c89 in libltdl


From: Bob Friesenhahn
Subject: Re: [RFC] pre-c89 in libltdl
Date: Tue, 20 Apr 2004 13:53:11 -0500 (CDT)

On Tue, 20 Apr 2004, Gary V. Vaughan wrote:
> |>Leaving mutexes up to the caller means that an app that links with
> |>multiple libraries that each wants to ltdlopen other stuff, odds are
> |>that the libs are all going to have to be modified to use a single
> |>mutex.  Remember that if each caller uses its own mutex, each one
> |
> |
> | This is a good point.
>
> Except that I am pretty sure libltdl will choke if you link 2 libraries
> that each use it :-(

I assume that this is only an issue if the application uses
"preloaded" static modules using libltdl APIs.  Applications are not
required to use the preloaded modules feature and its use is easily
avoided (couple lines of code).  The application I maintain does not
use it.

The preloaded modules implementation likely assumes that if an
application uses preloaded modules that it will not want to
dynamically load other modules.  If so, that would be a poor
assumption and a serious drawback.

Bob
======================================
Bob Friesenhahn
address@hidden
http://www.simplesystems.org/users/bfriesen





reply via email to

[Prev in Thread] Current Thread [Next in Thread]