mirror of
https://github.com/cesanta/mongoose.git
synced 2024-11-29 06:08:59 +08:00
6a3d01ee6b
PUBLISHED_FROM=cf49d0d345e4a7607c535f9578b8ed4160f2fccd
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.