Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
cpp-libs
Actor Framework
Commits
bb01d8f5
Commit
bb01d8f5
authored
Aug 09, 2014
by
Marian Triebe
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'topic/gcc47_fixes'
parents
52213587
b3e3a7ea
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
libcaf_core/caf/policy/fork_join.hpp
libcaf_core/caf/policy/fork_join.hpp
+1
-1
libcaf_core/src/scheduler.cpp
libcaf_core/src/scheduler.cpp
+1
-1
No files found.
libcaf_core/caf/policy/fork_join.hpp
View file @
bb01d8f5
...
@@ -176,7 +176,7 @@ class fork_join {
...
@@ -176,7 +176,7 @@ class fork_join {
f
(
job
);
f
(
job
);
}
}
m_private_queue
.
clear
();
m_private_queue
.
clear
();
auto
next
=
[
&
]
{
return
m_exposed_queue
.
try_pop
();
};
auto
next
=
[
&
]
{
return
this
->
m_exposed_queue
.
try_pop
();
};
for
(
auto
job
=
next
();
job
!=
nullptr
;
job
=
next
())
{
for
(
auto
job
=
next
();
job
!=
nullptr
;
job
=
next
())
{
f
(
job
);
f
(
job
);
}
}
...
...
libcaf_core/src/scheduler.cpp
View file @
bb01d8f5
...
@@ -253,7 +253,7 @@ abstract_coordinator* abstract_coordinator::create_singleton() {
...
@@ -253,7 +253,7 @@ abstract_coordinator* abstract_coordinator::create_singleton() {
void
abstract_coordinator
::
initialize
()
{
void
abstract_coordinator
::
initialize
()
{
// launch threads of utility actors
// launch threads of utility actors
auto
ptr
=
m_timer
.
get
();
auto
ptr
=
m_timer
.
get
();
m_timer_thread
=
std
::
thread
{[
ptr
]
{
ptr
->
act
();
}}
;
m_timer_thread
=
std
::
thread
([
ptr
]
{
ptr
->
act
();
})
;
m_printer_thread
=
std
::
thread
{
printer_loop
,
m_printer
.
get
()};
m_printer_thread
=
std
::
thread
{
printer_loop
,
m_printer
.
get
()};
}
}
...
...
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