mirror of
https://github.com/cesanta/mongoose.git
synced 2025-01-06 11:22:26 +08:00
23122b327c
It would be probably good idea to also remove tools/docgen.py and asciidoc.mk, but asciidoc.mk is still mentioned under `cloud/doc`, which may contain some useful info which we'll need at least to review before removing. PUBLISHED_FROM=faf454d4c52a2f07ea8ac084cf0bd11a0c9c9b3b
475 B
475 B
title | decl_name | symbol_kind | signature |
---|---|---|---|
mg_enable_multithreading() | mg_enable_multithreading | func | void mg_enable_multithreading(struct mg_connection *nc); |
Enable 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
other connections.