
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
Thanks.
Several questions: Is the typical usage to grab the current context, then jump to some other (previously constructed) context?
yes
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, - Jeff