Easy Simple Network Library  0.3.7
Functions
IoThreadPool

Functions

IoServiceManagerPtr esnlib::CreateIoServiceManager (int poolSize=0, int svcStackSize=0)
 

Detailed Description

Function Documentation

IoServiceManagerPtr esnlib::CreateIoServiceManager ( int  poolSize = 0,
int  svcStackSize = 0 
)

Create IO thread pool

Parameters
poolSizeThe pool size ("0" means default)
svcStackSizeThe stack size of every IO thread ("0" means default)
Returns
The pointer of the IO thread pool