|
Easy Simple Network Library
0.3.7
|
Functions | |
| WorkManagerPtr | esnlib::CreateWorkManager (int minworkercount=0, int maxworkercount=0, int workstack=0) |
| WorkManagerPtr esnlib::CreateWorkManager | ( | int | minworkercount = 0, |
| int | maxworkercount = 0, |
||
| int | workstack = 0 |
||
| ) |
Create a thread pool
| minworkercount | The minimum number of the threads ("0" means default) |
| maxworkercount | The maximum number of the threads ("0" means default) |
| workstack | Every thread's working stack size (in byte, "0" means default) |
1.8.9.1