Boost logo

Boost :

Subject: [boost] HTTP SERVER 2 Question!
From: zyf01234_at_[hidden]
Date: 2014-06-04 08:54:51


I'm trying to test the HTTP SERVER 2 of the boost.asio samples. some question comes to my mind,so can anyone give me a hand?

Q1.
The code acceptor_(io_service_pool_.get_io_service()) means get one io_service from the pool , but to this application only one acceptor is created and one io_service is running?
Q2
It takes about 25% of the CPU occupancy rate , this is caused by the Q1?



zyf01234_at_[hidden]


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk