mirror of
https://github.com/apache/nuttx.git
synced 2026-06-02 01:21:26 +08:00
A few cosmetic fixes from the last commit
This commit is contained in:
+2
-2
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -106,7 +106,6 @@ struct posix_spawnattr_s
|
|||||||
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;
|
||||||
|
|||||||
Reference in New Issue
Block a user