Go Down

Topic: [Code Share] Simple lightweight cooperative multi-tasking code (Read 739 times) previous topic - next topic


Just something I ran into and thought may be of use to others.

Read this article: http://msdn.microsoft.com/en-us/magazine/jj553509.aspx

It describes a method of using some macros to setup a switch statement that allows you to yield and resume a 'Task'.
Its the most lightweight implementation I have ever seen.

Hope it helps.

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131