mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2026-10-24 00:49:00 +03:00
gmodule/dl: Document thread-safety of dlerror in musl libc
This commit is contained in:
@@ -96,6 +96,7 @@
|
||||
* However, some libc implementations, such as glibc, implement dlerror() using
|
||||
* thread-local storage, so are thread-safe. As of early 2021:
|
||||
* - glibc is thread-safe: https://github.com/bminor/glibc/blob/HEAD/dlfcn/libc_dlerror_result.c
|
||||
* - musl-libc is thread-safe since version 1.1.9 -- released in 2015: https://wiki.musl-libc.org/functional-differences-from-glibc.html#Thread-safety-of-%3Ccode%3Edlerror%3C/code%3E
|
||||
* - uclibc-ng is not thread-safe: https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/tree/ldso/libdl/libdl.c?id=132decd2a043d0ccf799f42bf89f3ae0c11e95d5#n1075
|
||||
* - Other libc implementations have not been checked, and no problems have
|
||||
* been reported with them in 10 years, so default to assuming that they
|
||||
|
||||
Reference in New Issue
Block a user