From: Vaclav Vesely (vaclav.vesely_at_[hidden])
Date: 2006-03-24 03:28:53
Olaf van der Spek wrote:
>> --- Vaclav Vesely <vaclav.vesely_at_[hidden]> wrote:
>>> I've written ASIO background_thread class which calls
>>> arbitrary functions in a background thread. If you find it
>>> useful, you can add it to examples. After some refining it may
>>> be even added to the ASIO library.
> But is it network or even IO related?
> Wouldn't it be better to have a generic async/event driven design
> that's not tightly coupled with networking?
IMHO ASIO defines generic async design (demuxers) which is not coupled
with networking. And in ASIO there already is not-IO ASIO object -
deadline_timer. Maybe the library can be divided into general Async and
specialized Async.Io. But it has been already accepted in this form.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk