Update mg_enable_multithreading.md

This commit is contained in:
Evelyn 2016-07-22 15:04:01 +01:00 committed by GitHub
parent f900854e0d
commit 5dd9d37ef2

View File

@ -6,9 +6,9 @@ signature: |
void mg_enable_multithreading(struct mg_connection *nc); 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 For each accepted connection, Mongoose will create a separate thread
and run event handler in that thread. Thus, if an event hanler is doing and run an event handler in that thread. Thus, if an event handler is doing
a blocking call or some long computation, that will not slow down a blocking call or some long computation, it will not slow down
other connections. other connections.