zephyr/lib/posix
Evgeniy Paltsev 4e0f7ea540 posix: pthread: replace irq_lock with spinlock
We shouldn't use swapping with an interrupt lock held
as it works incorrectly on SMP platforms.

Fix that by replacing irq_lock with spinlock for pthread
subsystem.

NOTE: we fix that in a simple way with single spinlock
for mutex / cond_var / barrier. That could be improved
later (i.e. split it for several spinlocks).

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Evgeniy Paltsev <PaltsevEvgeniy@gmail.com>
2021-09-03 12:20:19 -04:00
..
CMakeLists.txt
Kconfig
clock.c
eventfd.c
fs.c
mqueue.c
nanosleep.c
pthread.c posix: pthread_exit: check for null before dereferencing 2021-05-27 09:07:57 -05:00
pthread_barrier.c posix: pthread: replace irq_lock with spinlock 2021-09-03 12:20:19 -04:00
pthread_common.c
pthread_cond.c posix: pthread: replace irq_lock with spinlock 2021-09-03 12:20:19 -04:00
pthread_key.c
pthread_mutex.c posix: pthread: replace irq_lock with spinlock 2021-09-03 12:20:19 -04:00
pthread_rwlock.c
pthread_sched.c
semaphore.c
sleep.c
timer.c