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
9018413e
Commit
9018413e
authored
Apr 28, 2012
by
neverlord
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed join order
parent
1a0ec155
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/network_manager.cpp
src/network_manager.cpp
+4
-2
No files found.
src/network_manager.cpp
View file @
9018413e
...
...
@@ -76,10 +76,12 @@ struct network_manager_impl : network_manager
void
stop
()
// override
{
m_post_office
->
enqueue
(
nullptr
,
make_any_tuple
(
atom
(
"DONE"
)));
m_mailman
->
enqueue
(
nullptr
,
make_any_tuple
(
atom
(
"DONE"
)));
m_post_office_thread
.
join
();
m_mailman_thread
.
join
();
// wait until mailman is done; post_office closes all sockets
CPPA_MEMORY_BARRIER
();
send_to_post_office
(
po_message
{
atom
(
"DONE"
),
-
1
,
0
});
m_post_office_thread
.
join
();
close
(
pipe_fd
[
0
]);
close
(
pipe_fd
[
0
]);
}
...
...
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