A few cosmetic fixes from the last commit
This commit is contained in:
parent
55ba5f8f5d
commit
f6c102d4c0
@ -486,7 +486,7 @@ struct tcb_s
|
|||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_SCHED_SPORADIC
|
#ifdef CONFIG_SCHED_SPORADIC
|
||||||
uint8_t low_priority; /* Sporadic low priority */
|
uint8_t low_priority; /* Sporadic low priority */
|
||||||
uint8_t max_repl; /* Max. replenishments */
|
uint8_t max_repl; /* Max. replenishments */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
uint8_t task_state; /* Current state of the thread */
|
uint8_t task_state; /* Current state of the thread */
|
||||||
|
@ -168,10 +168,10 @@ struct pthread_attr_s
|
|||||||
{
|
{
|
||||||
uint8_t priority; /* Priority of the pthread */
|
uint8_t priority; /* Priority of the pthread */
|
||||||
uint8_t policy; /* Pthread scheduler policy */
|
uint8_t policy; /* Pthread scheduler policy */
|
||||||
uint8_t inheritsched; /* Inherit parent prio/policy? */
|
uint8_t inheritsched; /* Inherit parent priority/policy? */
|
||||||
|
|
||||||
#ifdef CONFIG_SCHED_SPORADIC
|
#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 */
|
uint8_t max_repl; /* Maximum pending replenishments */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -103,10 +103,9 @@ struct posix_spawnattr_s
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_SCHED_SPORADIC
|
#ifdef CONFIG_SCHED_SPORADIC
|
||||||
struct timespec repl_period; /* Replenishment period */
|
struct timespec repl_period; /* Replenishment period */
|
||||||
struct timespec budget; /* Initial budget */
|
struct timespec budget; /* Initial budget */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct posix_spawnattr_s posix_spawnattr_t;
|
typedef struct posix_spawnattr_s posix_spawnattr_t;
|
||||||
|
Loading…
Reference in New Issue
Block a user