$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [asio] Error running as Windows service; runs fine from console
From: Igor R (boost.lists_at_[hidden])
Date: 2010-09-17 03:00:57
> That won't work; server::start() gets called on the service manager thread,
> too, immediately after the ctor.
Merely move async_accept to another function, then call
io_service_.post(...). This way async_accept will be performed on an
io_service thread.