From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2007-09-25 14:27:15


Daniel Gutson wrote:
> Hi Boost community,
> Despite I´m a newby using Boost, I wanted to ask some users about a
> very old yet useful idea: the continuations.

See Boost.Coroutine, which already implements this.

> - provide both a standard way of implementing this, and a
> platform-specific calling convention with compiler hacks

setjmp/longjmp for portability, makecontext/swapcontext on POSIX
systems, fibers on MS Windows.