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
f304e139
authored
8 years ago
by
Marcus Winter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dataflow_cpp: fixed bug in mtapi_scheduler
parent
da773e45
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
dataflow_cpp/include/embb/dataflow/internal/scheduler_mtapi.h
+5
-0
No files found.
dataflow_cpp/include/embb/dataflow/internal/scheduler_mtapi.h
View file @
f304e139
...
...
@@ -82,6 +82,8 @@ class SchedulerMTAPI : public Scheduler {
for
(
int
ii
=
0
;
ii
<
queue_count_
;
ii
++
)
{
queue_
[
ii
].
Delete
();
}
// delete action as well
action_
.
Delete
();
}
embb
::
base
::
Allocation
::
Free
(
group_
);
embb
::
base
::
Allocation
::
Free
(
queue_
);
...
...
@@ -97,6 +99,9 @@ class SchedulerMTAPI : public Scheduler {
}
virtual
void
WaitForSlice
(
int
slice
)
{
group_
[
slice
].
WaitAll
(
MTAPI_INFINITE
);
// group is invalid now, recreate
embb
::
mtapi
::
Node
&
node
=
embb
::
mtapi
::
Node
::
GetInstance
();
group_
[
slice
]
=
node
.
CreateGroup
();
}
private
:
...
...
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