Pages: [1]   Go Down
Author Topic: [Code Share] Simple lightweight cooperative multi-tasking code  (Read 476 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
Karma: 1
Posts: 93
Profile before you Optimize.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Read this article:

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.

Pages: [1]   Go Up
Jump to: