Windows ability to run multiple programs at the same time is

By pranay
Jan 9, 2013
Post New Reply
  1. Windows ability to run multiple programs at the same time is supported through multitasking or multithreading? how the processor is switched among different program ?
  2. jobeard

    jobeard TS Ambassador Posts: 9,330   +622

    BOTH :) It all started with multitasking - - you see all those processes in the TASKMGR - - that's multitasking.
    (aka multi-programming). Then to get better performance multithreading was added. This is somewhat like having the OS find programs that are ready to run (ie not waiting) and then letting the program itself do something while a slow unit of work was running in background.
    That's not at all how it works, but gives you an idea - -

    when the process WAITS (typically for I-o), the process is put on a que of waiting-tasks and another is found on a different que of ready-to-run tasks. This is a "heavy weight" process switch (ie lots of work). The multithreading implementations is a much "lighter weight" switch.
  3. St1ckM4n

    St1ckM4n TS Evangelist Posts: 2,920   +627

Similar Topics

Add New Comment

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...