Expand description
§use server::thread::{ ThreadPool, Worker }
This library handles operations to build a multi-threaded system for the web-server.
Structs§
- Thread
Pool - The ThreadPool data structure holds the underlying mechanism for processing concurrent requests. It has a sender which propagates requests through the channel and a vector of workers.
- Worker
- This represents a thread that executes a single request at a time.