previous |
start |
next
Thread Scheduler
- The thread scheduler runs each thread for a short amount of
time called a time slice
- Then the scheduler picks another thread from those that are
runnable
- A thread is runnable if it is not asleep or blocked in
some way
- There is no guarantee about the order in which threads are
executed
previous |
start |
next