summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/own.cpp18
-rw-r--r--src/own.hpp4
2 files changed, 0 insertions, 22 deletions
diff --git a/src/own.cpp b/src/own.cpp
index 0eae831..a60d9d0 100644
--- a/src/own.cpp
+++ b/src/own.cpp
@@ -80,24 +80,6 @@ void xs::own_t::launch_child (own_t *object_)
send_own (this, object_);
}
-void xs::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 xs::own_t::process_term_req (own_t *object_)
{
// When shutting down we can ignore termination requests from owned
diff --git a/src/own.hpp b/src/own.hpp
index 9f26bd3..d0afd62 100644
--- a/src/own.hpp
+++ b/src/own.hpp
@@ -70,10 +70,6 @@ namespace xs
// 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.