Boost logo

Boost :

Subject: Re: [boost] GSoC: Boost.Pipeline -- scheduling of segments
From: Nat Goodspeed (nat_at_[hidden])
Date: 2014-07-10 11:40:41


On Wed, Jul 2, 2014 at 1:55 AM, Oliver Kowalke <oliver.kowalke_at_[hidden]> wrote:

> 2014-07-02 1:37 GMT+02:00 Niall Douglas <s_sourceforge_at_[hidden]>:

>> In short, either you make all your processors coroutineable and
>> resumable - which is a ton of work.

> A chain of symmetric coroutines already model a dataflow

You don't even need symmetric coroutines; asymmetric coroutines model
that just fine -- see:
https://github.com/boostorg/coroutine/blob/master/example/cpp03/asymmetric/chaining.cpp

A coroutine implementation of pipelines becomes syntactic sugar, a
facile way to construct a chain that you can already build (admittedly
somewhat verbosely).


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