Boost logo

Boost :

Subject: Re: [boost] [context] new version - support for Win64
From: Andrzej Krzemienski (akrzemi1_at_[hidden])
Date: 2010-12-18 15:30:10


> I've uploaded boost.context-0.3.0.zip to boost vault.

Hi,
I am new to the idea of context switching, and the idea seams very
interesting. I have gotone question regarding the interface. The two
arguments that are passed when creating a new context, of type
void(*)(void*) and void* look like a way of providing a callback. I am used
to, in Boost libraries and C++0x threads, to see function<void()> as a type
of callbcak. Is there a reason for not using it in case of context
switching?

Regards,
&rzej


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