Multithreaded On All Platforms
The Pi3Web is based on a thread execution model for higher concurrency
with less system resource utilization. As not all platforms support native
multithreading functionality the PiAPI library implements User
Context threads by adding additional program stacks and thread scheduling
to processes.
Pi3Web uses a configurable number of processes and threads (thread pooling).
Pi3Web can reuse threads, i.e. a thread is not destroyed after serving a
request.
[Top]