jspωiki
Time slicing

Overview#

Time slicing is for when there are more threads than CPUs, concurrency is simulated the Central Processing Unit switches between threads.

Time slicing, on most systems, happens unpredictably and nondeterministically, meaning that a thread may be paused or resumed at any time.

Time slicing allows each Central Processing Unit to switch between threads that are being executed without having to wait for each task to finish. Depending on the Operating System implementation, switches could be performed when tasks perform input/output operations, when a thread indicates that it can be switched, or on hardware interrupts.

More Information#

There might be more information for this subject on one of the following: