18 Nov
2011
18 Nov
'11
5:06 p.m.
Hi, By going through ASIO, i find that the I/O Service gets run on a thread and the socket gets created with a I/O Service. So the data for the socket has to be always sent through the same thread. For trying take advantage of data localization, i am exploring whether it would be possible to have a thread per multi-core processor running the io_service::run() method. I am just wondering there is a way where in i can change the io_service associated with the socket. Can someone help me with that? Thanks, Gokul.