zephyr/lib/posix
James Harris c7bb423f3e kernel: fix race conditions with z_ready_thread
Several internal APIs wrote thread attributes (return value, mainly)
_after_ calling `z_ready_thread`. This is unsafe, at least in SMP,
because another core could have already picked up and run the thread.

Fixes #32800.

Signed-off-by: James Harris <james.harris@intel.com>
2021-03-03 13:54:47 -05:00
..
CMakeLists.txt
Kconfig
clock.c posix: clock: nanosecond resolution 2021-01-22 12:37:58 -05:00
eventfd.c
fs.c lib/posix/fs: Add fs_dir_t type variable initialization 2021-02-05 07:32:20 -05:00
mqueue.c lib/posix: SPARC newlib has unsigned short mode_t 2020-11-13 14:53:55 -08:00
nanosleep.c
pthread.c
pthread_barrier.c
pthread_common.c
pthread_cond.c
pthread_key.c
pthread_mutex.c kernel: fix race conditions with z_ready_thread 2021-03-03 13:54:47 -05:00
pthread_rwlock.c
pthread_sched.c
semaphore.c
sleep.c
timer.c