Boost logo

Boost :

Subject: Re: [boost] Cooperative Multi-Tasking
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2010-03-04 04:20:01


Daniel Larimer wrote:

> I am guessing that Boost.Asio would benefit from such a library. It seems obvious to me now that coroutines / cooperative multi-tasking is the superior approach to solving problems with a large number of actors and "locks" where heavy weight preemptive scheduling would bog down the system.

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.


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