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
f2dc1c43
authored
Feb 22, 2016
by
Marcus Winter
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'embb459_automatic_init' into development
parents
fa50eac7
297263bb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
tasks_cpp/src/execution_policy.cc
+4
-4
No files found.
tasks_cpp/src/execution_policy.cc
View file @
f2dc1c43
...
@@ -35,7 +35,7 @@ namespace tasks {
...
@@ -35,7 +35,7 @@ namespace tasks {
ExecutionPolicy
::
ExecutionPolicy
()
:
ExecutionPolicy
::
ExecutionPolicy
()
:
priority_
(
DefaultPriority
)
{
priority_
(
DefaultPriority
)
{
#if
MTAPI
_CPP_AUTOMATIC_INITIALIZE
#if
TASKS
_CPP_AUTOMATIC_INITIALIZE
Node
::
GetInstance
();
// MTAPI has to be initialized
Node
::
GetInstance
();
// MTAPI has to be initialized
#endif
#endif
mtapi_status_t
status
;
mtapi_status_t
status
;
...
@@ -48,7 +48,7 @@ ExecutionPolicy::ExecutionPolicy() :
...
@@ -48,7 +48,7 @@ ExecutionPolicy::ExecutionPolicy() :
ExecutionPolicy
::
ExecutionPolicy
(
bool
initial_affinity
,
mtapi_uint_t
priority
)
ExecutionPolicy
::
ExecutionPolicy
(
bool
initial_affinity
,
mtapi_uint_t
priority
)
:
priority_
(
priority
)
{
:
priority_
(
priority
)
{
#if
MTAPI
_CPP_AUTOMATIC_INITIALIZE
#if
TASKS
_CPP_AUTOMATIC_INITIALIZE
Node
::
GetInstance
();
// MTAPI has to be initialized
Node
::
GetInstance
();
// MTAPI has to be initialized
#endif
#endif
mtapi_status_t
status
;
mtapi_status_t
status
;
...
@@ -62,7 +62,7 @@ ExecutionPolicy::ExecutionPolicy(bool initial_affinity, mtapi_uint_t priority)
...
@@ -62,7 +62,7 @@ ExecutionPolicy::ExecutionPolicy(bool initial_affinity, mtapi_uint_t priority)
ExecutionPolicy
::
ExecutionPolicy
(
mtapi_uint_t
priority
)
ExecutionPolicy
::
ExecutionPolicy
(
mtapi_uint_t
priority
)
:
priority_
(
priority
)
{
:
priority_
(
priority
)
{
#if
MTAPI
_CPP_AUTOMATIC_INITIALIZE
#if
TASKS
_CPP_AUTOMATIC_INITIALIZE
Node
::
GetInstance
();
// MTAPI has to be initialized
Node
::
GetInstance
();
// MTAPI has to be initialized
#endif
#endif
mtapi_status_t
status
;
mtapi_status_t
status
;
...
@@ -75,7 +75,7 @@ ExecutionPolicy::ExecutionPolicy(mtapi_uint_t priority)
...
@@ -75,7 +75,7 @@ ExecutionPolicy::ExecutionPolicy(mtapi_uint_t priority)
ExecutionPolicy
::
ExecutionPolicy
(
bool
initial_affinity
)
ExecutionPolicy
::
ExecutionPolicy
(
bool
initial_affinity
)
:
priority_
(
DefaultPriority
)
{
:
priority_
(
DefaultPriority
)
{
#if
MTAPI
_CPP_AUTOMATIC_INITIALIZE
#if
TASKS
_CPP_AUTOMATIC_INITIALIZE
Node
::
GetInstance
();
// MTAPI has to be initialized
Node
::
GetInstance
();
// MTAPI has to be initialized
#endif
#endif
mtapi_status_t
status
;
mtapi_status_t
status
;
...
...
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