|
Boost : |
Subject: Re: [boost] Cooperative Multi-Tasking
From: vicente.botet (vicente.botet_at_[hidden])
Date: 2010-03-03 16:13:45
Hi,
----- 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
https://svn.boost.org/trac/boost/wiki/LibrariesUnderConstruction
HTH,
Vicente
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk