mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-02 22:42:52 +07:00
475 B
475 B
title, decl_name, symbol_kind, signature
| 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.