summaryrefslogtreecommitdiff
path: root/src/own.cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2012-02-16 10:04:01 +0900
committerMartin Sustrik <sustrik@250bpm.com>2012-02-16 10:04:01 +0900
commita025fb7713709b7176b99d7403e05c9d99c6b703 (patch)
treed3d673b64581a1f052db7efa944960c3f29e9e37 /src/own.cpp
parent3256318a4a118d7658c1a7d26cb8af31af395289 (diff)
Obsolete launch_sibling function removed
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/own.cpp')
-rw-r--r--src/own.cpp18
1 files changed, 0 insertions, 18 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