]> git.ipfire.org Git - thirdparty/libtool.git/commit
According to Howard Chu <hyc@highlandsun.com>:
authorGary V. Vaughan <gary@gnu.org>
Thu, 22 Apr 2004 22:08:19 +0000 (22:08 +0000)
committerGary V. Vaughan <gary@gnu.org>
Thu, 22 Apr 2004 22:08:19 +0000 (22:08 +0000)
commit14ae34906f05d58a35fe528fb1d65abdd15c28c1
tree78fe192b26df0e9a643deb60c2bfc9b23db4f961
parent4acb7905fab52bee7b8b350f9d08153cdef8ffcd
According to Howard Chu <hyc@highlandsun.com>:
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.
18 files changed:
ChangeLog
NEWS
config/config.guess
config/config.sub
doc/libtool.texi
libltdl/Makefile.am
libltdl/loader-dld_link.c
libltdl/loader-dlopen.c
libltdl/loader-dyld.c
libltdl/loader-load_add_on.c
libltdl/loader-loadlibrary.c
libltdl/loader-preopen.c
libltdl/loader-shl_load.c
libltdl/lt__private.h
libltdl/lt_error.c
libltdl/lt_error.h
libltdl/ltdl.c
libltdl/ltdl.h