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
754854ab
authored
Oct 27, 2016
by
Marcus Winter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mtapi_cpp: added setter to enable main thread reuse
parent
784baa28
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
mtapi_cpp/include/embb/mtapi/node_attributes.h
+10
-0
No files found.
mtapi_cpp/include/embb/mtapi/node_attributes.h
View file @
754854ab
...
...
@@ -232,6 +232,16 @@ class NodeAttributes {
return
*
this
;
}
NodeAttributes
&
SetReuseMainThread
(
mtapi_boolean_t
reuse
)
{
mtapi_status_t
status
;
mtapi_nodeattr_set
(
&
attributes_
,
MTAPI_NODE_REUSE_MAIN_THREAD
,
&
reuse
,
sizeof
(
reuse
),
&
status
);
internal
::
CheckStatus
(
status
);
return
*
this
;
}
/**
* Returns the internal representation of this object.
* Allows for interoperability with the C interface.
...
...
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