zephyr/lib
Jaxson Han 0df7bd26ed lib: posix: pthread_rwlock: Fix a racy issue
Multiple reader threads unlocking the read lock simultaneously might
cause the program hang because it's possible that no thread is
identified as the last one to active the writer thread.

To fix the issue, swap the k_sem_give sequence.

Signed-off-by: Jaxson Han <jaxson.han@arm.com>
2023-07-12 09:25:26 +02:00
..
acpi lib: acpi: added acpi support using acpica lib 2023-06-30 17:53:01 +03:00
cpp Kconfig: Tidy up dependants of NATIVE_APPLICATION 2023-07-05 07:01:19 -04:00
hash lib: hashmap: Move hash table files lib/hashmap 2023-03-02 12:03:07 -05:00
libc libc/picolibc: Use mutexes instead of semaphores for non-recursive locks 2023-07-10 15:11:15 +02:00
open-amp open-amp: Fix compilation with cache enabled 2023-04-18 12:12:56 +02:00
os json: Fix 64-bit support 2023-06-29 21:03:48 +02:00
posix lib: posix: pthread_rwlock: Fix a racy issue 2023-07-12 09:25:26 +02:00
smf lib: smf: fix include 2022-05-25 11:14:18 +09:00
CMakeLists.txt lib: acpi: added acpi support using acpica lib 2023-06-30 17:53:01 +03:00
Kconfig lib: acpi: added acpi support using acpica lib 2023-06-30 17:53:01 +03:00