nuttx/sched
Gregory Nutt 124e6ee53d sched/sched/sched_releasetcb.c: Handle custom stack allocations.
sched_releasetcb() will normally free the stack allocated for a task.  However, a task with a custom, user-managed stack may be created using nxtask_init() followed by nxtask_activer.  If such a custom stack is used then it must not be free in this many or a crash will most likely result.

This chagne addes a flag call TCB_FLAG_CUSTOM_STACK that may be passed in the the pre-allocted TCB to nxtask_init().  This flag is not used internally anywhere in the OS except that if set, it will prevent sched_releasetcb() from freeing that custom stack.
2020-05-27 20:00:14 +01:00
..
clock Rename clock_systime[r|spec] to clock_systime_[ticks|timespec] 2020-05-10 14:35:50 -06:00
environ global change: repace sched_xfree() to kxmm_free() 2020-04-09 10:29:28 -06:00
group fs/vfs/fd_open.c: fs_fdopen() must not set errno 2020-05-23 15:22:09 +08:00
init sched/: Run nxstyle on all .c/.h files modified by PR. 2020-05-16 13:39:03 -03:00
irq Rename clock_systime[r|spec] to clock_systime_[ticks|timespec] 2020-05-10 14:35:50 -06:00
module modsym: Fix a printf format for berr 2020-04-13 16:20:09 +01:00
mqueue include/nuttx/sched.h: Make naming of all internal names consistent: 2020-05-09 14:19:08 -03:00
paging Rename clock_systime[r|spec] to clock_systime_[ticks|timespec] 2020-05-10 14:35:50 -06:00
pthread Make task_init() and task_activate() internal OS functions. 2020-05-25 23:54:45 +01:00
sched sched/sched/sched_releasetcb.c: Handle custom stack allocations. 2020-05-27 20:00:14 +01:00
semaphore sched/: Make more naming consistent 2020-05-17 14:01:00 -03:00
signal sched/: Make more naming consistent 2020-05-16 13:39:03 -03:00
task sched/sched/sched_releasetcb.c: Handle custom stack allocations. 2020-05-27 20:00:14 +01:00
timer Update timer_gettime.c 2020-04-24 19:49:29 +08:00
wdog Rename clock_systime[r|spec] to clock_systime_[ticks|timespec] 2020-05-10 14:35:50 -06:00
wqueue sched/: Make more naming consistent 2020-05-16 13:39:03 -03:00
Kconfig sched/: Make more naming consistent 2020-05-17 14:01:00 -03:00
Makefile build: Replace -I with INCDIR 2020-05-24 20:20:12 +01:00