Thread View: comp.os.os2.programmer
1 messages
1 total messages
Started by oleg
Fri, 14 Dec 1990 16:51
Re: Preemptive multitasking
Author: oleg
Date: Fri, 14 Dec 1990 16:51
Date: Fri, 14 Dec 1990 16:51
15 lines
1178 bytes
1178 bytes
> Each time the timer fires, the scheduler will decide whether it needs to > switch the CPU to some other thread than the one executing when the timer > went off. If some new thread is ready to run, and has a higher priority > than the currently running thread, then the scheduler will immediately set > the CPU to switch to that thread, pausing the currently running thread. According to an article "Measure Your Machine's Activity ..." in November 90 issue of Microsoft System Journal, the scheduler can cut right into the middle of a thread's time slice and steal the CPU away. This happens if a thread makes a system call, and there is another thread with a higher priority ready to be dispatched. Oleg Vishnepolsky IBM T. J. Watson Research Center
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads