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
7c04ad82
Commit
7c04ad82
authored
9 years ago
by
Gregory Nutt
Browse files
Options
Downloads
Patches
Plain Diff
Sporadic scheduler: Cosmetic change to debug output and to comments
parent
99664b78
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sched/sched/sched_sporadic.c
+1
-2
1 addition, 2 deletions
sched/sched/sched_sporadic.c
with
1 addition
and
2 deletions
sched/sched/sched_sporadic.c
+
1
−
2
View file @
7c04ad82
...
...
@@ -578,7 +578,7 @@ int sched_sporadic_initialize(FAR struct tcb_s *tcb)
sporadic
=
(
FAR
struct
sporadic_s
*
)
kmm_zalloc
(
sizeof
(
struct
sporadic_s
));
if
(
sporadic
==
NULL
)
{
slldbg
(
"ERROR: Failed to alloate sporadic data structure
\n
"
);
slldbg
(
"ERROR: Failed to allo
c
ate sporadic data structure
\n
"
);
return
-
ENOMEM
;
}
...
...
@@ -1052,7 +1052,6 @@ uint32_t sched_sporadic_process(FAR struct tcb_s *tcb, uint32_t ticks,
* Drop to the lower priority for the duration of the replenishment
* period. Called from:
*
* - sched_sporadic_process() when the thread budget expires
* - sched_unlock(). When the budget expires while the thread had the
* scheduler locked.
*
...
...
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