diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2022-11-05 09:43:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-05 09:43:06 +0100 |
commit | 3067c978af62f34cce4b366f4723c137227b9059 (patch) | |
tree | 3a34666844a216cb029dcb0d661e52aa8949d2fb /libgphoto2_port/NEWS | |
parent | 48136a68094301fe465684abc00dc2bdffa94b4a (diff) | |
download | libgphoto2-3067c978af62f34cce4b366f4723c137227b9059.tar.gz |
Wrap unsafe libltdl calls with locking (#848)
* Wrap unsafe libltdl calls with locking
https://github.com/gphoto/libgphoto2/issues/166
* 848: do not install internal header gphoto2-port-mutex.h
* 848: wrap symbol declarations in #ifdef _GPHOTO2_INTERNAL_CODE
* 848: Use proper include guard macro
* 848: Encapsulate the lock/unlock code inside functions
This hides the pthread usage as an implementation detail inside the
gpi_libltdl_lock() and gpi_libltdl_unlock() functions.
* 848: Rename from *-mutex.[ch] to *-locking.[ch]
The *-lock.[ch] name is implementation neutral.
* 848: update libgphoto2_port version number
* 848: internal headers do not require __cplusplus checks
* 848: add copyright comment at the beginning of *.[ch]
* 848: add an unlocked variant of gp_abilities_list_load_dir to avoid lots of unlock/lock codes
* 848: remove unnecessary whitespace addition
Co-authored-by: kadler15 <spurfan15@gmail.com>
Co-authored-by: Hans Ulrich Niedermann <hun@n-dimensional.de>
Diffstat (limited to 'libgphoto2_port/NEWS')
-rw-r--r-- | libgphoto2_port/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libgphoto2_port/NEWS b/libgphoto2_port/NEWS index 32fca664f..986b330de 100644 --- a/libgphoto2_port/NEWS +++ b/libgphoto2_port/NEWS @@ -1,3 +1,6 @@ +libgphoto2_port 0.12.2 + * internal API/ABI: Added gpi_libltdl_lock() and gpi_libltdl_unlock() + libgphoto2_port 0.12.1 * API: * Added function: `int gp_port_init_localedir(const char *localedir)` |