go away spammer

Author Topic: [Code Share] Simple lightweight cooperative multi-tasking code  (Read 2107 times)

0 Members and 1 Guest are viewing this topic.

Offline obiwanjacobiTopic starter

  • Full Member
  • ***
  • Posts: 57
  • Helpful? 0
  • You can PIC any micro controller - what AVR!
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.

 


Get Your Ad Here

data_list