Thread
:
This is real multitasking!
View Single Post
npsimons
2010-04-28 , 05:18
Posts: 21 | Thanked: 32 times | Joined on Mar 2010 @ Ridgecrest, California, USA
#
45
Originally Posted by
jakiman
even if multiple apps constantly do stuff in the background in real time?
I was being facetious
Before another "task" ("thread", "process", whatever it's called) can be run, the OS has to save the state of the current task (mostly CPU registers) to RAM so it can restore the state of the other task; therefore, multitasking is a form of state-saving (it's just done automatically by the OS many many times a second). You are right, though, in pointing out that some OSes essentially freeze the "backgrounded" tasks and won't give them slices of CPU time until the user "foregrounds" them, thereby effectively making those OSes single-tasking systems.
Be careful with the term "real-time" though; it has very specific meanings in OS land, and the truth is that hardly anything runs in real-time and doesn't really need to. Hardware is so high powered these days, and typical user requirements (even developers and power users) don't necessarily require it.
Last edited by npsimons; 2010-04-28 at
05:24
. Reason: d'oh!
Quote & Reply
|
npsimons
View Public Profile
Send a private message to npsimons
Visit npsimons's homepage!
Find all posts by npsimons