Boost logo

Boost :

Subject: Re: [boost] Cooperative Multi-Tasking
From: Rutger ter Borg (rutger_at_[hidden])
Date: 2010-03-04 05:19:16


Mathias Gaunard wrote:

>
> A significant advantage of not using coroutines or fibers with Asio is
> that you use as little memory per task as you need, while using a
> coroutine requires having a stack and other context data.

Unless, of course, you use stack-less co-routines, e.g., see Asio
documentation/Examples/HTTP Server 4.

Cheers,

Rutger


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