|
Boost : |
Subject: Re: [boost] [tasklets] new lib
From: Oliver Kowalke (k-oli_at_[hidden])
Date: 2011-01-09 11:15:37
Additional notes: boost.tasklet comes with some class for syncing
tasklets. For instance event and conmdition variables, channels
(messages exchange) and mutexes etc. AFAIK such facilities are uncommon
with coroutines.
Am 09.01.2011 16:56, schrieb Giorgio Zoppi:
> 2011/1/9 Oliver Kowalke<k-oli_at_[hidden]>:
>> boost.tasklet is a split-up from old boost.fiber.
>> The lib allow to execute micro-tasks (tasklets) in a thread and assigns each
>> small task with a micro-thread/fiber - so tasklets are cooperativly
>> scheduled. The API contains classes and functions to manage and synchronize
>> tasklets (even if the tasklets are running on different threads).
>> boost.tasklet is an example how boost.fiber could be used for cooperative
>> scheduling ansd will be used by the threadpool from boost.task.
>
> Which is the different between tasklets and coroutines?
>
>> Oliver
>> _______________________________________________
>> 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