Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
chickadee
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Matija Benko
chickadee
Commits
203a9300
Commit
203a9300
authored
May 10, 2020
by
James Foster
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'log_printf' into 2204-CPTR-352
parents
8943ecf0
b2f3c5f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
k-hardware.cc
k-hardware.cc
+4
-0
No files found.
k-hardware.cc
View file @
203a9300
...
...
@@ -171,7 +171,11 @@ struct log_printer : public printer {
};
}
// things get ugly when multiple processes output at the same time!
static
spinlock
printLock
;
void
log_vprintf
(
const
char
*
format
,
va_list
val
)
{
spinlock_guard
guard
(
printLock
);
log_printer
p
;
p
.
vprintf
(
0
,
format
,
val
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment