|
Boost : |
Subject: Re: [boost] [context][fiber] context migration
From: Oliver Kowalke (k-oli_at_[hidden])
Date: 2010-08-02 14:59:28
Am 01.08.2010 19:30, schrieb Charlls Quarra:
> I have a question about context; basically it seems that all the yield functionality can be done by simply calling jump_to on the calling context. is that right?
yes
> I've also been trying to figure out exactly what functionality does fiber implements on top of it; it seems that fiber migration (to another kernel thread? another process?) is implemented (or eventually will be implemented) here?
yes - boost.fiber implements lightweight threads/cooperative scheduling
on top of boost.context. It already supports fiber migration (should be
described in the docs).
Oliver
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk