Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Sep 2010
    Location
    The Twilight Zone
    Posts
    86
    Thanks
    17
    Thanked 2 Times in 2 Posts

    A question about an Operating System and the CPU

    Hey guys,

    My understanding of the relationship between the OS and the CPU is still a bit fuzzy- here's my question:

    If the CPU is a processor, and an Operating System is a software, this means that the operating system must be executed by the CPU. If so, how exactly does it allow other programs to interface with the CPU if it's already hogging the CPU? (assuming we're in a single processor system).

    Thanks.

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    http://en.wikipedia.org/wiki/Preemption_(computing)

    Mainly "Preemptive Multitasking".
    ||||If you are getting paid to do a job, don't ask for help on it!||||


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •