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> |
||
|---|---|---|
| .. | ||
| clock.c | ||
| CMakeLists.txt | ||
| eventfd.c | ||
| fs.c | ||
| Kconfig | ||
| mqueue.c | ||
| nanosleep.c | ||
| pthread_barrier.c | ||
| pthread_common.c | ||
| pthread_cond.c | ||
| pthread_key.c | ||
| pthread_mutex.c | ||
| pthread_rwlock.c | ||
| pthread_sched.c | ||
| pthread.c | ||
| semaphore.c | ||
| sleep.c | ||
| timer.c | ||