]> git.ipfire.org Git - thirdparty/curl.git/commit
easy_lock: add a pthread_mutex_t fallback
authorLoïc Yhuel <loic.yhuel@softathome.com>
Wed, 11 Oct 2023 11:07:48 +0000 (13:07 +0200)
committerJay Satiro <raysatiro@yahoo.com>
Fri, 13 Oct 2023 03:40:08 +0000 (23:40 -0400)
commit5adb6000ffd7c2521f2200d5a4a746e3d44171b4
tree2336baa8021082ffc6466e11705c872186931376
parent2e283c69e0dfdc85390cd8277352d105d9f11657
easy_lock: add a pthread_mutex_t fallback

This allows to keep the init threadsafe with gcc < 4.9.0 (no C11
atomics).

Closes https://github.com/curl/curl/pull/12090
lib/easy_lock.h