Boost logo

Boost :

From: Andreas Pokorny (andreas.pokorny_at_[hidden])
Date: 2008-03-22 11:59:05


Hello,

2008/3/22, Daniel Pfeifer <daniel_at_[hidden]>:
> > As it happens, I've never needed asynchronous database functions;
> > generally I block waiting for the results and if there's other work
> > to do at the same time it's in another thread. Do you have an
> > application using asio that's driving this?
>
>
> No, I just thought that it might be useful. What do others think
> about asynchronous database access?

If the the asynchronous api fits well into the demultiplexer service of
asio, I would always prefer the async over the sync approach.

kind regards
Andreas Pokorny


Boost list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk