Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
FORMUS3IC_LAS3
/
embb
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
da773e45
authored
8 years ago
by
Marcus Winter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dataflow_cpp: small fix to test and example
parent
9bcc7d15
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
dataflow_cpp/test/dataflow_cpp_test_simple.cc
+1
-1
doc/examples/mtapi/mtapi_cpp_wait_task-snippet.h
+4
-4
No files found.
dataflow_cpp/test/dataflow_cpp_test_simple.cc
View file @
da773e45
...
...
@@ -156,7 +156,7 @@ void SimpleTest::TestBasic() {
embb
::
mtapi
::
NodeAttributes
node_attr
;
node_attr
.
SetCoreAffinity
(
core_set
)
.
Set
QueueLimit
(
2
);
.
Set
MaxQueues
(
2
);
embb
::
mtapi
::
Node
::
Initialize
(
MTAPI_DOMAIN_ID
,
MTAPI_NODE_ID
,
...
...
This diff is collapsed.
Click to expand it.
doc/examples/mtapi/mtapi_cpp_wait_task-snippet.h
View file @
da773e45
status
=
task
.
Wait
(
MTAPI_INFINITE
);
if
(
status
!=
MTAPI_SUCCESS
)
{
printf
(
"task failed with error: %d
\n\n
"
,
status
);
exit
(
status
);
mtapi_status_t
task_
status
=
task
.
Wait
(
MTAPI_INFINITE
);
if
(
task_
status
!=
MTAPI_SUCCESS
)
{
printf
(
"task failed with error: %d
\n\n
"
,
task_
status
);
exit
(
task_
status
);
}
This diff is collapsed.
Click to expand it.
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