lager::
with_boost_asio_event_loop
¶Event loop that relies on a Boost.Asio executor.
context::dispatch()
is thread safe, but it schedules the evaluation of actual store updates and effects in the event loop which, it assumes, evaluates them serially. You can easily serialize a multi-threaded executor by wrapping it in a boost::asio::strand
.