Boost logo

Boost :

From: Darren Garvey (lists.drrngrvy_at_[hidden])
Date: 2007-08-18 14:53:30


>
> <snip>
> // This is in the examples: http://tinyurl.com/27vnnx
> cgi::fcgi_threadpool_server server;
> boost::thread t1(boost::bind(&cgi::fcgi_threadpool_server::run,
> server);
> t1.join();
>

Oops. This should of course be:

// Run a server with a threadpool of 15 threads, calling `sub_main` every
time a request is
// ready to be run
cgi::fcgi_threadpool_server server(15, &sub_main);
server.run();

Regards,
Darren


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