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: Thu, 15 Apr 2004 14:15:38 -0500 (CDT)

On Thu, 15 Apr 2004, Simon Josefsson wrote:
>
> Could someone explain exactly why libltdl is thread unsafe, e.g. what
> it need these locking functions for, in the first place?

I should mention that lazy symbol resolution could potentially cause
problems in a mutithreaded application since if a symbol is accessed
which was not already accessed, then the run-time linker will execute
code to resolve that symbol.  It may be that the complete application
blocks while the symbol is resolved, or perhaps some threads continue
executing on a different CPU.  Whether this is an issue is
system-dependent.

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





reply via email to

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