incubator-nuttx/sched/task
Ville Juven 6047a9fe14 task_fork.c: Fix vfork for BUILD_KERNEL
Two things need to be done when vfork'ing:
- Must attach to parent's address environment (the addrenv is shared)
- Must allocate a kernel stack (where would the register context go otherwise)

Note that this code assumes the address environment is shared, since we
don't support fork() which would _clone_ the address environment instead.
2024-08-01 10:58:25 -03:00
..
CMakeLists.txt sched/pthread/join: refactor pthread join to support join task 2024-03-13 18:06:56 +09:00
Make.defs sched/pthread/join: refactor pthread join to support join task 2024-03-13 18:06:56 +09:00
exit.c sched/tcb: fix 12320 regression 2024-06-26 00:20:26 +08:00
spawn.h sched/task: Remove spawn_proxyattrs as obsolete implementation 2023-10-30 22:30:03 +08:00
task.h sched/pthread/join: refactor pthread join to support join task 2024-03-13 18:06:56 +09:00
task_activate.c sched/logging: add task activation/exit logs 2024-01-14 23:04:42 -08:00
task_cancelpt.c task/pthread_cancelpt: Fix task_delete from another task group 2023-11-22 08:05:58 -08:00
task_create.c sched/tcb: use shared group for kthreads 2024-06-23 22:24:19 +08:00
task_delete.c sched: fix the minor style issue 2023-10-25 15:46:45 +08:00
task_execve.c libc/exit: Purge calls to userspace API exit() from kernel 2023-02-17 23:07:17 +08:00
task_exit.c sched:remove g_cpu_schedlock g_cpu_irqsetlock g_cpu_locksetlock 2024-06-21 11:11:07 +09:00
task_exithook.c sched: move nxsched_dumponexit() to task_exithook 2024-06-30 17:30:42 +08:00
task_fork.c task_fork.c: Fix vfork for BUILD_KERNEL 2024-08-01 10:58:25 -03:00
task_getgroup.c sched/group: replace group_findbypid to task_getgroup 2024-03-05 22:24:52 +08:00
task_getpid.c
task_getppid.c
task_gettid.c
task_init.c sched/task: minor polish on task_init() 2024-05-08 15:43:25 +08:00
task_join.c sched/pthread/join: refactor pthread join to support join task 2024-03-13 18:06:56 +09:00
task_posixspawn.c sched/posixspawn: disable tedious logging 2024-05-10 15:40:34 +08:00
task_prctl.c
task_recover.c
task_reparent.c sched/group: replace group_findbypid to task_getgroup 2024-03-05 22:24:52 +08:00
task_restart.c sched/tasklist: replace task status list with macro definition 2024-03-21 11:23:46 +09:00
task_setup.c sched/tls: drop ta_argv and g_idleargv 2024-06-23 22:24:19 +08:00
task_spawn.c sched/tcb: add free tcb flag to support static tcb 2024-03-04 20:05:11 +08:00
task_spawnparms.c sched/taskfiles: skip unnecessary file open/close operations to improve performance 2023-11-16 07:30:36 -08:00
task_start.c sched/tcb: use shared group for kthreads 2024-06-23 22:24:19 +08:00
task_starthook.c
task_terminate.c sched: Fix nxstyle errors 2023-05-11 11:25:58 -03:00