incubator-nuttx/sched
Ville Juven ab78e3817a sched/task_[posix]spawn: Simplify how spawn attributes are handled
Handle task spawn attributes as task spawn file actions are handled.

Why? This removes the need for sched_lock() when the task is being
spawned. When loading the new task from a file the scheduler can be
locked for a VERY LONG time, in the order of hundreds of milliseconds!

This is unacceptable for real time operation.

Also fixes a latent bug in exec_module, spawn_file_actions is executed
at a bad location; when CONFIG_ARCH_ADDRENV=y actions will point to the
new process's address environment (as it is temporarily instantiated at
that point). Fix this by moving it to after addrenv_restore.
2023-10-25 11:55:44 -03:00
..
addrenv cmake:complete missing changes during cmake reforming for sched 2023-09-08 21:20:16 +03:00
clock sched: fix the minor style issue 2023-10-25 15:46:45 +08:00
environ nuttx: use lib_free for memory de-allocation after strdup or asprintf 2023-08-08 11:58:29 -03:00
group sched: fix the minor style issue 2023-10-25 15:46:45 +08:00
init sched: Remove the unused tcb argument from group_setupidlefiles 2023-10-17 17:23:05 +03:00
irq spinlock: implement read writer spinlock 2023-10-16 08:55:01 +08:00
misc assert: move the backtrace dump after the stack dump 2023-10-16 16:07:44 +08:00
module Fix loading of ET_DYN type of shared objects 2023-09-20 09:35:28 -04:00
mqueue mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
paging build: add initial cmake build system 2023-07-08 13:50:48 +08:00
pthread sched: fix the minor style issue 2023-10-25 15:46:45 +08:00
sched sched: Exit immediately when cpuset change to 0. 2023-10-18 21:12:35 +08:00
semaphore fix: Mac sim-02 compiler issue 2023-10-16 08:55:01 +08:00
signal signal: use work_cancel_sync() to fix used after free 2023-09-19 15:52:48 +08:00
task sched/task_[posix]spawn: Simplify how spawn attributes are handled 2023-10-25 11:55:44 -03:00
timer Replace enter_critical_section with spin_irqsave 2023-10-21 11:00:07 +08:00
tls libc: add support for custom streams with fopencookie() 2023-10-18 21:13:01 +08:00
wdog clock: replace all up_perf_xx with perf_xx 2023-10-02 16:11:43 +02:00
wqueue clock: replace all up_perf_xx with perf_xx 2023-10-02 16:11:43 +02:00
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
Kconfig sched: add smp function call 2023-10-18 09:57:50 +08:00
Makefile