Subject: Re: [boost] Cooperative Multi-Tasking
From: Daniel Larimer (dlarimer_at_[hidden])
Date: 2010-03-04 07:58:31
On Mar 3, 2010, at 4:13 PM, vicente.botet wrote:
> ----- Original Message -----
> From: "Daniel Larimer" <dlarimer_at_[hidden]>
> To: <boost_at_[hidden]>
> Sent: Wednesday, March 03, 2010 9:37 PM
> Subject: [boost] Cooperative Multi-Tasking
>> I am curious whether anyone here has experience with any cross-platform cooperative multi-tasking libraries? I am familiar with the Boost.Coroutine library, but it only provides the "primitives" or "threads". What I am looking for is something much higher level that hides all of the coroutine details behind a asynchronous function call / future API. Something along the line of ASIO for coroutines.
>> 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.
>> Considering that cooperative multitasking is a very old concept, are there any reasons why there are no obvious libraries / scheduling systems in place? Does everyone "roll their own" or do they avoid it for some other reason?
> Oliver has in the review scheduler Boost.Fiber.
> I'm sure it will be pleasure for you to see at the LibraryUnderConstruction page
Is there any place that the documentation for all of the projects in boost/vault is pre-built? Having to setup and build a new library before even reviewing the documentation probably hinders adoption and without a publicly browsable set of documentation the library is "un-googleable"
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk