Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NuttX RTOS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
f4grx
NuttX RTOS
Commits
f6c102d4
Commit
f6c102d4
authored
9 years ago
by
Gregory Nutt
Browse files
Options
Downloads
Patches
Plain Diff
A few cosmetic fixes from the last commit
parent
55ba5f8f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
include/nuttx/sched.h
+1
-1
1 addition, 1 deletion
include/nuttx/sched.h
include/pthread.h
+2
-2
2 additions, 2 deletions
include/pthread.h
include/spawn.h
+2
-3
2 additions, 3 deletions
include/spawn.h
with
5 additions
and
6 deletions
include/nuttx/sched.h
+
1
−
1
View file @
f6c102d4
...
...
@@ -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 */
...
...
This diff is collapsed.
Click to expand it.
include/pthread.h
+
2
−
2
View file @
f6c102d4
...
...
@@ -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 prio
rity
/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
...
...
This diff is collapsed.
Click to expand it.
include/spawn.h
+
2
−
3
View file @
f6c102d4
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment