mirror of
https://github.com/apache/nuttx.git
synced 2026-05-19 20:06:24 +08:00
A few cosmetic fixes from the last commit
This commit is contained in:
@@ -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 */
|
||||
|
||||
+2
-2
@@ -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
|
||||
|
||||
|
||||
+2
-3
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user