Thread Previous • Date Previous • Date Next • Thread Next |
On 08/12/2013 06:30 PM, Lorenzo Marcantonio wrote:
On Mon, Aug 12, 2013 at 05:48:59PM +0200, Tomasz Wlostowski wrote:Initially, I though about using boost::coroutine, but almost got scared to death after seeing the example code. Finally I usedLike, almost everything in boost... never seen a more ugly way to code
I've seen one: gtk and glib.
boost::context + a small wrapper class.In short, setjmp/longjmp wrapped in a class :D
All coroutines ultimately end up context switching... Tom
Thread Previous • Date Previous • Date Next • Thread Next |