Boost logo

Boost :

From: Christopher Kohlhoff (chris_at_[hidden])
Date: 2007-05-03 19:07:29


On Wed, 2 May 2007 18:18:41 +0530, Gaurav.Jain_at_[hidden] said:
> Chris in one of your replies I get to know that to achieve the above one
> can use a pool of io service object. Could you explain a bit about this?
> What is this io service::work object. How I can use thread pool in
> achieving the above? What should I have in my worker object structure of
> the thread pool?

I recently added an example to asio's CVS repository that shows how to
do this:

  http://asio.cvs.sourceforge.net/asio/asio/src/examples/http/server2/

Cheers,
Chris


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