🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #1710

Re: Preemptive multitasking

#1710
From: oleg
Date: Fri, 14 Dec 1990 16:51
15 lines
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
Technical Details
Message-ID: <1990Dec14.165116.22948@arnor.uucp>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!samsung!uunet!bywater!arnor!news

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!samsung!uunet!bywater!arnor!news
From: oleg@ibm.com
Newsgroups: comp.os.os2.programmer
Subject: Re: Preemptive multitasking
Message-ID: <1990Dec14.165116.22948@arnor.uucp>
Date: 14 Dec 90 16:51:16 GMT
Sender: news@arnor.uucp (NNTP News Poster)
Organization: IBM T.J. Watson Research Center
Lines: 15