nuttx/sched/task
Gregory Nutt 40cdc187bb mm/mm_heap/mm_sem.c and sched/task/task_getpid.c: Commits 43d37c866b and f37202cbc0 resolved some problems with the original fix of 91aa26774b. However, Those changes used an internal OS interface (sched_self()) which is not available when the the user-space memory manager is built in the PROTECTED or KERNEL builds and resulted in build failures.
This commit repartitions the logic by moving some of the changes from mm_sem.c into task_getpid.c.  The logic is equivalent for the case of mm_trysemaphore(), but no has wider impact since it potentially affects all callers of getpid().  Hence, this change may also introduce some other issues that will need to be addressed.
2018-12-30 08:41:06 -06:00
..
exit.c sched/group/group_foreachchild.c: group_foreachchild iterate by reverse order since the callback(e.g. group_killchildren) may remove the tcb from list 2018-11-08 07:03:30 -06:00
Make.defs Add task_testcancel() 2016-12-10 16:34:14 -06:00
spawn.h Squashed commit of the following: 2017-10-03 15:35:24 -06:00
task_activate.c Make sure that labeling is used consistently in all function headers. 2018-02-01 10:00:02 -06:00
task_atexit.c Make sure that labeling is used consistently in all function headers. 2018-02-01 10:00:02 -06:00
task_cancelpt.c Make sure that labeling is used consistently in all function headers. 2018-02-01 10:00:02 -06:00
task_create.c Update some comments. Remove references to non-existent CONFIG_MAX_TASK_ARG. 2018-08-08 17:06:46 -06:00
task_delete.c task_delete(): Do not permit user applications to delete kernel threads. 2017-10-16 09:07:27 -06:00
task_execv.c binfmt/ and libs/libc: Make exepath_*() more common: 2018-11-08 07:27:14 -06:00
task_exit.c sched/group/group_foreachchild.c: group_foreachchild iterate by reverse order since the callback(e.g. group_killchildren) may remove the tcb from list 2018-11-08 07:03:30 -06:00
task_exithook.c sched/: Update signal default STOP action. If waitpid was called with the WUNTRACED then wake up waitpid. Also fix some compile problems.. How did this work before? 2018-09-02 13:51:52 -06:00
task_getgroup.c Standardization of some function headers. 2018-03-13 09:52:27 -06:00
task_getpid.c mm/mm_heap/mm_sem.c and sched/task/task_getpid.c: Commits 43d37c866b and f37202cbc0 resolved some problems with the original fix of 91aa26774b. However, Those changes used an internal OS interface (sched_self()) which is not available when the the user-space memory manager is built in the PROTECTED or KERNEL builds and resulted in build failures. 2018-12-30 08:41:06 -06:00
task_init.c Update some comments. Remove references to non-existent CONFIG_MAX_TASK_ARG. 2018-08-08 17:06:46 -06:00
task_onexit.c Standardization of some function headers. 2018-03-13 09:52:27 -06:00
task_posixspawn.c binfmt/ and libs/libc: Make exepath_*() more common: 2018-11-08 07:27:14 -06:00
task_prctl.c Miscellaneous fixes from astyle tool. 2017-08-14 17:19:27 -06:00
task_recover.c Make sure that labeling is used consistently in all function headers. 2018-02-01 10:00:02 -06:00
task_reparent.c Standardization of some function headers. 2018-03-13 09:52:27 -06:00
task_restart.c sched/task/task_restart.c: Fix a compile error if CONFIG_DISABLE_SIGNALS defined. 2018-09-15 14:51:04 -06:00
task_setcancelstate.c Add task_setcanceltype() 2016-12-10 16:06:14 -06:00
task_setcanceltype.c sched/: Various fixes for typos, improved parameter verification. 2018-01-12 18:26:45 -06:00
task_setup.c Update some comments. Remove references to non-existent CONFIG_MAX_TASK_ARG. 2018-08-08 17:06:46 -06:00
task_spawn.c sched/task/task_spawn.c: Correct description of input parameters to task_spawn_exec(). Noted by: JeongchanKim 2018-12-18 07:37:07 -06:00
task_spawnparms.c Squashed commit of the following: 2018-09-15 10:49:41 -06:00
task_start.c Squashed commit of the following: 2018-08-27 11:40:09 -06:00
task_starthook.c Make sure that labeling is used consistently in all function headers. 2018-02-01 10:00:02 -06:00
task_terminate.c Make sure that labeling is used consistently in all function headers. 2018-02-01 10:00:02 -06:00
task_testcancel.c Add task_testcancel() 2016-12-10 16:34:14 -06:00
task_vfork.c fs/driver/fs_blockpartition.c: Fix void pointer warning. 2018-12-03 17:54:21 -06:00
task.h Flesh basic cancellation point support 2016-12-09 09:44:23 -06:00