libtool
[Top][All Lists]
Advanced

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

Re: [Patch] interlibrary dependency parsing in libltdl from CVS HEAD


From: Utz-Uwe Haus
Subject: Re: [Patch] interlibrary dependency parsing in libltdl from CVS HEAD
Date: Mon, 23 Oct 2000 10:15:07 +0200
User-agent: Mutt/1.2i

On Sat, Oct 21, 2000 at 03:37:35PM -0500, Albert Chin-A-Young wrote:
> On Sat, Oct 21, 2000 at 03:03:13PM -0500, Albert Chin-A-Young wrote:
> > Quick question though. Where dependency_libs is large and references
> > other .la objects, would it be worthwhile to cache already-dlopen'ed
> > libraries? If so, what would happen if one of the dlopen'ed libraries
> > got updated while the program was running? Because we cached the fact
> > that the library was already loaded, the library would not be reloaded
> > (though I suppose we could use a stat cache on the modification time
> > of the file if necessary).
> 
> Oh, looks like tryall_dlopen already does this.

I haven't looked at the implementation of tryall_dlopen(), but keep in
mind that one might (ugly solaris scenario follows:) update the
<lib>.so.version by overwriting while keeping the symbolic link that is
used to load the library with dlopen(), so a simple stat() may not be
enough.

Later
Utz

-- 
Utz-Uwe Haus                               address@hidden
Inst. f. Math. Optim.                                        address@hidden
Uni Magdeburg                    PGP keys  1024/6AD23BE1 and 2048/5D0B72A1
GERMANY                          available via keyservers or email request 



reply via email to

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