mirror of
https://github.com/apache/nuttx.git
synced 2026-09-22 14:41:29 +08:00
Repartition functionality in preparation for nested, pending reprioritization
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1591 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -178,6 +178,10 @@ struct _TCB
|
||||
exitfunc_t exitfunc; /* Called if exit is called. */
|
||||
ubyte sched_priority; /* Current priority of the thread */
|
||||
#ifdef CONFIG_PRIORITY_INHERITANCE
|
||||
# if CONFIG_SEM_NNESTPRIO > 0
|
||||
ubyte npend_reprio; /* Number of nested reprioritizations */
|
||||
ubyte pend_reprios[CONFIG_SEM_NNESTPRIO];
|
||||
# endif
|
||||
ubyte base_priority; /* "Normal" priority of the thread */
|
||||
#endif
|
||||
ubyte task_state; /* Current state of the thread */
|
||||
|
||||
Reference in New Issue
Block a user