libtool-patches
[Top][All Lists]
Advanced

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

Re: Is it a typo in libltdl?


From: Ralf Wildenhues
Subject: Re: Is it a typo in libltdl?
Date: Sat, 27 Jan 2007 19:14:24 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

* Zhe Su wrote on Sat, Jan 27, 2007 at 06:52:59PM CET:
> On 1/28/07, Ralf Wildenhues <address@hidden> wrote:
> >
> >Please note though that the CVS HEAD branch has removed the locking
> >functionality, partly because it was deemed impossible to provide a
> >useful and efficient interface, and better if the user using libltdl
> >implemented that.  So it's better if you don't depend on it.
> 
> Then how should I make the code thread safe? Adding mutex locks around
> each libltdl call?

That is a safe possibility.  But for example if you only have one thread
that uses libltdl functions anyway, you should be able to cope without
locking.

> When will the CVS HEAD branch be released as stable version?

Good question.  I guess it's wiser if I don't speculate.  If you want to
try it, there are links to daily snapshots on the web page.

Cheers,
Ralf




reply via email to

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