mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-03-19 15:50:25 +08:00
* doc/libtool.texi: notes on thread-safety problems of
libltdl/dlopen on GNU/Linux and FreeBSD
This commit is contained in:
parent
5030549808
commit
a1210f767e
@ -1,5 +1,8 @@
|
||||
1999-03-14 Alexandre Oliva <oliva@dcc.unicamp.br>
|
||||
|
||||
* doc/libtool.texi: notes on thread-safety problems of
|
||||
libltdl/dlopen on GNU/Linux and FreeBSD
|
||||
|
||||
* ltconfig.in (aix3*, aix4*): GNU ld on AIX is very broken: it
|
||||
cannot create working shared libraries. Print a warning
|
||||
suggesting the user not to use it and disable shared libraries.
|
||||
|
@ -2587,7 +2587,13 @@ To use libltdl in your program you have include the header file @file{ltdl.h}:
|
||||
|
||||
@noindent
|
||||
Note that libltdl is not threadsafe, i.e. a multithreaded application
|
||||
has to use a mutex for libltdl.
|
||||
has to use a mutex for libltdl. It was reported that GNU/Linux's glibc
|
||||
2.0's @code{dlopen} with @samp{RTLD_LAZY} (which libltdl uses by
|
||||
default) is not thread-safe, but this problem is supposed to be fixed in
|
||||
glibc 2.1. On the other hand, @samp{RTLD_NOW} was reported to introduce
|
||||
problems in multi-threaded applications on FreeBSD. Working around
|
||||
these problems is left as an exercise for the reader; contributions are
|
||||
certainly welcome.
|
||||
|
||||
@noindent
|
||||
The following types are defined in @file{ltdl.h}:
|
||||
|
Loading…
x
Reference in New Issue
Block a user