Boost logo

Boost :

Subject: Re: [boost] [stratified] library for micro-/userland-threads
From: Oliver Kowalke (oliver.kowalke_at_[hidden])
Date: 2012-07-03 04:02:08

> > what boost.stratified tries to solve is:
> >
> > - cooperativly schedule strata (a stratum is more or less equivalent to
> a coroutine)
> >
> > - provide synch. primitives to coordinate communication/access between
> strata (same as synch. primitives do in boost.thread)
> Just for clarification, how is stratified related to your proposed
> coroutine library?

both use boost.context for context swapping

I would go with wikipedia:
'strata describe essentially the same concept as coroutines. The distinction, if there is any, is that coroutines are a language-level construct, a form of control flow, while strata are a systems-level construct, viewed as threads that happen not to run concurrently.'

Therefore I modelled boost.stratified to provide a similiar interface/sync. primitves as boost.thread.


Boost list run by bdawes at, gregod at, cpdaniel at, john at