[Top][All Lists]
[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
- Re: [RFC] pre-c89 in libltdl, (continued)
- Re: [RFC] pre-c89 in libltdl, Bob Friesenhahn, 2004/04/15
- RE: [RFC] pre-c89 in libltdl, Howard Chu, 2004/04/15
- Re: [RFC] pre-c89 in libltdl, Gary V . Vaughan, 2004/04/19
- Re: [RFC] pre-c89 in libltdl, Alexandre Oliva, 2004/04/20
- Re: [RFC] pre-c89 in libltdl, Simon Josefsson, 2004/04/20
- Re: [RFC] pre-c89 in libltdl, Albert Chin, 2004/04/20
- Re: [RFC] pre-c89 in libltdl, Simon Josefsson, 2004/04/20
- Re: [RFC] pre-c89 in libltdl, Alexandre Oliva, 2004/04/21
- Re: [RFC] pre-c89 in libltdl, Bob Friesenhahn, 2004/04/20
- Re: [RFC] pre-c89 in libltdl, Gary V. Vaughan, 2004/04/20
- Re: [RFC] pre-c89 in libltdl,
Bob Friesenhahn <=
- Re: [RFC] pre-c89 in libltdl, Gary V. Vaughan, 2004/04/22
- Re: [RFC] pre-c89 in libltdl, Simon Josefsson, 2004/04/15