A few cosmetic fixes from the last commit

This commit is contained in:
Gregory Nutt 2015-07-23 13:26:41 -06:00
parent 55ba5f8f5d
commit f6c102d4c0
3 changed files with 5 additions and 6 deletions

View File

@ -486,7 +486,7 @@ struct tcb_s
#endif
#ifdef CONFIG_SCHED_SPORADIC
uint8_t low_priority; /* Sporadic low priority */
uint8_t max_repl; /* Max. replenishments */
uint8_t max_repl; /* Max. replenishments */
#endif
uint8_t task_state; /* Current state of the thread */

View File

@ -168,10 +168,10 @@ struct pthread_attr_s
{
uint8_t priority; /* Priority of the pthread */
uint8_t policy; /* Pthread scheduler policy */
uint8_t inheritsched; /* Inherit parent prio/policy? */
uint8_t inheritsched; /* Inherit parent priority/policy? */
#ifdef CONFIG_SCHED_SPORADIC
uint8_t low_priority; /* Low scheduling priority*/
uint8_t low_priority; /* Low scheduling priority */
uint8_t max_repl; /* Maximum pending replenishments */
#endif

View File

@ -103,10 +103,9 @@ struct posix_spawnattr_s
#endif
#ifdef CONFIG_SCHED_SPORADIC
struct timespec repl_period; /* Replenishment period */
struct timespec budget; /* Initial budget */
struct timespec repl_period; /* Replenishment period */
struct timespec budget; /* Initial budget */
#endif
};
typedef struct posix_spawnattr_s posix_spawnattr_t;