nuttx/sched/pthread
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
..
Make.defs Add SYSCALLS for pthread_setaffinity() and pthread_getaffinity() 2016-02-19 18:13:06 -06:00
pthread_barrierdestroy.c sched/: Review and correct some stylistic inconsistencies 2016-08-07 08:25:30 -06:00
pthread_barrierinit.c sched/: Review and correct some stylistic inconsistencies 2016-08-07 08:25:30 -06:00
pthread_barrierwait.c sched/: Review and correct some stylistic inconsistencies 2016-08-07 08:25:30 -06:00
pthread_cancel.c sched/: Replace explict references to g_readytorun with indirect references via the this_task() macro 2016-02-06 17:44:41 -06:00
pthread_completejoin.c sched/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition. 2016-06-11 16:42:42 -06:00
pthread_condbroadcast.c sched/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition. 2016-06-11 16:42:42 -06:00
pthread_conddestroy.c sched/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition. 2016-06-11 16:42:42 -06:00
pthread_condinit.c sched/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition. 2016-06-11 16:42:42 -06:00
pthread_condsignal.c sched/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition. 2016-06-11 16:42:42 -06:00
pthread_condtimedwait.c sched/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition. 2016-06-11 16:42:42 -06:00
pthread_condwait.c sched/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition. 2016-06-11 16:42:42 -06:00
pthread_create.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
pthread_detach.c sched/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition. 2016-06-11 16:42:42 -06:00
pthread_exit.c sched/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition. 2016-06-11 16:42:42 -06:00
pthread_findjoininfo.c sched/: Review and correct some stylistic inconsistencies 2016-08-07 08:25:30 -06:00
pthread_getaffinity.c sched/: Review and correct some stylistic inconsistencies 2016-08-07 08:25:30 -06:00
pthread_getschedparam.c sched/: Review and correct some stylistic inconsistencies 2016-08-07 08:25:30 -06:00
pthread_getspecific.c Remove some empty C file section comments; Update some text in TODO file 2016-02-19 10:01:15 -06:00
pthread_initialize.c Remove some empty C file section comments; Update some text in TODO file 2016-02-19 10:01:15 -06:00
pthread_join.c sched/: Review and correct some stylistic inconsistencies 2016-08-07 08:25:30 -06:00
pthread_keycreate.c Remove some empty C file section comments; Update some text in TODO file 2016-02-19 10:01:15 -06:00
pthread_keydelete.c Remove some empty C file section comments; Update some text in TODO file 2016-02-19 10:01:15 -06:00
pthread_kill.c Add sig_raise() 2016-07-04 09:32:36 -06:00
pthread_mutexdestroy.c sched/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition. 2016-06-11 16:42:42 -06:00
pthread_mutexinit.c sched/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition. 2016-06-11 16:42:42 -06:00
pthread_mutexlock.c sched/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition. 2016-06-11 16:42:42 -06:00
pthread_mutextrylock.c sched/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition. 2016-06-11 16:42:42 -06:00
pthread_mutexunlock.c Debug output level (error, warning, info) is now selectable on a per-subsystem, per-driver basis 2016-06-12 13:08:23 -06:00
pthread_once.c sched/: Review and correct some stylistic inconsistencies 2016-08-07 08:25:30 -06:00
pthread_release.c Remove some empty C file section comments; Update some text in TODO file 2016-02-19 10:01:15 -06:00
pthread_setaffinity.c sched/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition. 2016-06-11 16:42:42 -06:00
pthread_setcancelstate.c sched/: Review and correct some stylistic inconsistencies 2016-08-07 08:25:30 -06:00
pthread_setschedparam.c sched/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition. 2016-06-11 16:42:42 -06:00
pthread_setschedprio.c Remove some empty C file section comments; Update some text in TODO file 2016-02-19 10:01:15 -06:00
pthread_setspecific.c Remove some empty C file section comments; Update some text in TODO file 2016-02-19 10:01:15 -06:00
pthread_sigmask.c Remove some empty C file section comments; Update some text in TODO file 2016-02-19 10:01:15 -06:00
pthread_yield.c Remove some empty C file section comments; Update some text in TODO file 2016-02-19 10:01:15 -06:00
pthread.h Remove some empty C file section comments; Update some text in TODO file 2016-02-19 10:01:15 -06:00