Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
e7674025
Commit
e7674025
authored
Mar 28, 2012
by
Martin Hurton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove the launch_sibling method
The method is not used anymore.
parent
6f47f128
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
22 deletions
+0
-22
own.cpp
src/own.cpp
+0
-18
own.hpp
src/own.hpp
+0
-4
No files found.
src/own.cpp
View file @
e7674025
...
...
@@ -80,24 +80,6 @@ void zmq::own_t::launch_child (own_t *object_)
send_own
(
this
,
object_
);
}
void
zmq
::
own_t
::
launch_sibling
(
own_t
*
object_
)
{
// At this point it is important that object is plugged in before its
// owner has a chance to terminate it. Thus, 'plug' command is sent before
// the 'own' command. Given that the mailbox preserves ordering of
// commands, 'term' command from the owner cannot make it to the object
// before the already written 'plug' command.
// Specify the owner of the object.
object_
->
set_owner
(
owner
);
// Plug the object into its I/O thread.
send_plug
(
object_
);
// Make parent own the object.
send_own
(
owner
,
object_
);
}
void
zmq
::
own_t
::
process_term_req
(
own_t
*
object_
)
{
// When shutting down we can ignore termination requests from owned
...
...
src/own.hpp
View file @
e7674025
...
...
@@ -70,10 +70,6 @@ namespace zmq
// Launch the supplied object and become its owner.
void
launch_child
(
own_t
*
object_
);
// Launch the supplied object and make it your sibling (make your
// owner become its owner as well).
void
launch_sibling
(
own_t
*
object_
);
// Ask owner object to terminate this object. It may take a while
// while actual termination is started. This function should not be
// called more than once.
...
...
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