From 5dd9d37ef2506af3f9c1ed7dc1fbdc2fb272eaf9 Mon Sep 17 00:00:00 2001 From: Evelyn Date: Fri, 22 Jul 2016 15:04:01 +0100 Subject: [PATCH] Update mg_enable_multithreading.md --- docs/c-api/net.h/mg_enable_multithreading.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/c-api/net.h/mg_enable_multithreading.md b/docs/c-api/net.h/mg_enable_multithreading.md index 3498e4de..e45fd3a1 100644 --- a/docs/c-api/net.h/mg_enable_multithreading.md +++ b/docs/c-api/net.h/mg_enable_multithreading.md @@ -6,9 +6,9 @@ signature: | void mg_enable_multithreading(struct mg_connection *nc); --- -Enable multi-threaded handling for the given listening connection `nc`. +Enables multi-threaded handling for the given listening connection `nc`. For each accepted connection, Mongoose will create a separate thread -and run event handler in that thread. Thus, if an event hanler is doing -a blocking call or some long computation, that will not slow down +and run an event handler in that thread. Thus, if an event handler is doing +a blocking call or some long computation, it will not slow down other connections.