Cooperative Multitasking: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
Brendan (talk | contribs)
m Deleted a wrong sentence
Line 148: Line 148:
void doIt() {
void doIt() {
printk("Switching to otherTask... \n");
printk("Switching to otherTask... \n");
yeild();
yield();
printk("Returned to mainTask!\n");
printk("Returned to mainTask!\n");
}
}