summaryrefslogtreecommitdiff
path: root/docs/tutorials
diff options
context:
space:
mode:
Diffstat (limited to 'docs/tutorials')
-rw-r--r--docs/tutorials/006/client_handler.cpp2
-rw-r--r--docs/tutorials/006/page05.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/tutorials/006/client_handler.cpp b/docs/tutorials/006/client_handler.cpp
index 54588dcdafe..584013e50c8 100644
--- a/docs/tutorials/006/client_handler.cpp
+++ b/docs/tutorials/006/client_handler.cpp
@@ -103,7 +103,7 @@ Client_Handler::open (void *void_acceptor)
use the reactor which means that handle_input() and it's fellows
are not invoked. */
if (acceptor->thread_per_connection ())
- return this->activate ();
+ return this->activate (THR_DETACHED);
// ************************************************************************
// From here on, we're doing the traditional reactor thing. If
diff --git a/docs/tutorials/006/page05.html b/docs/tutorials/006/page05.html
index aa323cdc952..389ae8e716e 100644
--- a/docs/tutorials/006/page05.html
+++ b/docs/tutorials/006/page05.html
@@ -127,7 +127,7 @@ int
use the reactor which means that handle_input() and it's fellows
are not invoked. */</font>
if (acceptor->thread_per_connection ())
- return this->activate ();
+ return this->activate (THR_DETACHED);
<font color=red>// ************************************************************************</font>
<font color=red>// From here on, we're doing the traditional reactor thing. If</font>