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 cmake: fix include directories to work with out-of-tree arch 2020-08-05 08:06:07 -04:00
Kconfig lib: posix: Update to new timeout API 2020-05-08 17:31:45 +02:00
clock.c posix: clock: nanosecond resolution 2021-01-22 12:37:58 -05:00
eventfd.c lib: posix: eventfd: Fix use of 'struct k_spinlock_key' 2020-10-07 08:11:25 -04:00
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 lib: posix: nanosleep: round up to the nearest microsecond 2020-10-02 11:31:43 +02:00
pthread.c lib: posix: Fix priority validity check in pthread_setschedparam 2020-08-11 07:46:06 -04:00
pthread_barrier.c
pthread_common.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
pthread_cond.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
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 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
pthread_sched.c
semaphore.c lib: posix: unchecked return value while taking semaphore 2020-10-21 06:26:11 -05:00
sleep.c
timer.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00