Update README
This commit is contained in:
parent
d61d63dd97
commit
fe01fa760b
@ -199,11 +199,7 @@ Please check [here](https://github.com/yhirose/cpp-httplib/blob/master/example/s
|
|||||||
|
|
||||||
`ThreadPool` is used as a default task queue, and the default thread count is set to value from `std::thread::hardware_concurrency()`.
|
`ThreadPool` is used as a default task queue, and the default thread count is set to value from `std::thread::hardware_concurrency()`.
|
||||||
|
|
||||||
Set thread count to 8:
|
You can change the thread count by setting `CPPHTTPLIB_THREAD_POOL_COUNT`.
|
||||||
|
|
||||||
```cpp
|
|
||||||
#define CPPHTTPLIB_THREAD_POOL_COUNT 8
|
|
||||||
```
|
|
||||||
|
|
||||||
### Override the default thread pool with yours
|
### Override the default thread pool with yours
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user