$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] Concurrency and session termination in boost::asio
From: Igor R (boost.lists_at_[hidden])
Date: 2008-11-06 11:19:29
> If those requests are scheduled on two different worker threads, they could execute
> simultaneously, and still cause problems.
Sorry, I forgot that you run one io_service in several threads... Why
wouldn't you scale your application using "io_service per CPU"
approach, rather than "thread per CPU"? Like this: