I would use a modular approach using an acceptor, a shared job queue,
and multiple worker threads (at least 2 workers; depends on the job
characteristics, duration etc.). Of course a synchronisation/locking
is needed for shared resource access/usage,
see for example https://en.wikipedia.org/wiki/Producer–consumer_problem
--
U.Mutlu
DACOS Notdienstanlagen GmbH, Germany, www.dacos.de
_______________________________________________
Boost-users mailing list
Boost...@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users