nuttx/sched/task
Gregory Nutt 8669183852 sched/pthread and task: When a pthread is started, there is a small bit of logic that will run on the thread of execution of the new pthread. In the case where the new pthread has a lower priority than the parent thread, then this could cause both the parent thread and the new pthread to be blocked at the priority of the lower priority pthread (assuming that CONFIG_PRIORITY_INHERITANCE is not selected).
This change temporarily boosts the priority of the new pthread to at least the priority of the new pthread to at least the priority of the parent thread.  When that bit of logic has executed on the thread of execution of the new pthread, it will then drop to the correct priority (if necessary) before calling into the new pthread's entry point.
2016-10-01 11:38:22 -06:00
..
exit.c
Make.defs
spawn.h
task_activate.c
task_atexit.c
task_create.c
task_delete.c
task_execv.c
task_exit.c
task_exithook.c
task_getgroup.c
task_getpid.c
task_init.c
task_onexit.c
task_posixspawn.c
task_prctl.c
task_recover.c
task_reparent.c
task_restart.c sched/pthread and task: When a pthread is started, there is a small bit of logic that will run on the thread of execution of the new pthread. In the case where the new pthread has a lower priority than the parent thread, then this could cause both the parent thread and the new pthread to be blocked at the priority of the lower priority pthread (assuming that CONFIG_PRIORITY_INHERITANCE is not selected). 2016-10-01 11:38:22 -06:00
task_setup.c sched/pthread and task: When a pthread is started, there is a small bit of logic that will run on the thread of execution of the new pthread. In the case where the new pthread has a lower priority than the parent thread, then this could cause both the parent thread and the new pthread to be blocked at the priority of the lower priority pthread (assuming that CONFIG_PRIORITY_INHERITANCE is not selected). 2016-10-01 11:38:22 -06:00
task_spawn.c
task_spawnparms.c
task_start.c
task_starthook.c
task_terminate.c
task_vfork.c
task.h Remove duplicate function prototype from wrong header file 2016-10-01 10:56:42 -06:00