Subject: Re: [boost] [context] new version
From: Jeffrey Lee Hellrung, Jr. (jhellrung_at_[hidden])
Date: 2010-07-30 01:00:53
On 7/29/2010 9:44 PM, Oliver Kowalke wrote:
> Am 29.07.2010 23:40, schrieb Jeffrey Lee Hellrung, Jr.:
>> On 7/29/2010 6:30 AM, Oliver Kowalke wrote:
>> so I think some real examples would go a long way
> in libs/context/example you find a simple example
>> Several questions: Is the
>> typical usage to grab the current context, then jump to some other
>> (previously constructed) context?
>> What would be the recommended method
>> for the second context to transfer control back to the original one?
> simply jump to it : this_context.jump_to( original_context);
So, naturally, you have to pass some reference of the original context
to the second one via the void* parameter, right? There's no magic way
to grab the context from which one came, or is there?
>> Is context switching significantly different on the various Windows
>> flavors, or have you just not gotten around to testing on Vista and 7
>> (it seems only XP is documented as working)?
> It's not different - I've not Vista or Windows7.
Perhaps I will try this out then (Windows7).
Thanks for your answers,
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk