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:
patacongo
2009-03-10 23:52:46 +00:00
parent 8e93df66c6
commit 367beee228
17 changed files with 180 additions and 103 deletions
+4
View File
@@ -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 */