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