layout | title | parent |
---|---|---|
post |
5.4 Exercise |
5. Scheduling |
Implement cooperative time slicing that puts out the following serial output (using printk()
)
figure showing that thread_1, even though lower priority, doesn't yield to thread_2 (until finished)
Implement Preemptive time slicing that puts out the serial (using printk()
)
figure showing the increase in thread priority and preemption and completion of each thread
Implement time slicing with three threads (of equal priority)
figure showing the equal priority threads preempting each other