mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-11-27 06:09:57 +08:00
14ae34906f
Applications should assume that the native dlopen is NOT thread-safe, and take care of locking themselves. All application calls into libltdl should thus be protected by the caller. * libltdl/lt_mutex.c, libltdl/lt_mutex.h: Removed. * libltdl/Makefile.am (pkginclude_HEADERS): Removed lt_mutex.h. (libltdl_la_SOURCES): Removed lt_mutex.c and lt_mutex.h. * libltdl/ltdl.h: Don't include lt_mutex.h. * libltdl/lt__private.h (LT__MUTEX_GETERROR, LT__MUTEX_SETERROR) (LT__MUTEX_SETERRORSTR): Renamed to... (LT__GETERROR, LT__SETERROR, LT__SETERRORSTR): ...this. Changed all callers. (LT__MUTEX_LOCK, LT__MUTEX_UNLOCK, lt_dlmutex_lock) (lt_dlmutex_unlock, lt_dlmutex_seterror, lt_dlmutex_geterror): Removed. Changed all callers. * doc/libtool.texi (Thread Saftey in libltdl): * NEWS: Updated. |
||
---|---|---|
.. | ||
.cvsignore | ||
argz.c | ||
argz.h | ||
COPYING.LIB | ||
loader-dld_link.c | ||
loader-dlopen.c | ||
loader-dyld.c | ||
loader-load_add_on.c | ||
loader-loadlibrary.c | ||
loader-preopen.c | ||
loader-shl_load.c | ||
lt__alloc.c | ||
lt__alloc.h | ||
lt__dirent.c | ||
lt__dirent.h | ||
lt__glibc.h | ||
lt__private.h | ||
lt_dlloader.h | ||
lt_error.c | ||
lt_error.h | ||
lt_mutex.c | ||
lt_mutex.h | ||
lt_system.h | ||
ltdl.c | ||
ltdl.h | ||
Makefile.am | ||
README |
This is GNU libltdl, a system independent dlopen wrapper for GNU libtool. It supports the following dlopen interfaces: * dlopen (Solaris, Linux and various BSD flavors) * shl_load (HP-UX) * LoadLibrary (Win16 and Win32) * load_add_on (BeOS) * GNU DLD (emulates dynamic linking for static libraries) * dyld (darwin/Mac OS X) * libtool's dlpreopen