*BSD News Article 6024


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel!munnari.oz.au!spool.mu.edu!wupost!darwin.sura.net!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!news.ysu.edu!do-not-reply-to-path
From: ae007@yfn.ysu.edu (Daniel Newcombe)
Subject: Question about the OS running progs???
Message-ID: <1992Oct4.174420.7664@news.ysu.edu>
Sender: news@news.ysu.edu (Usenet News Admin)
Nntp-Posting-Host: yfn.ysu.edu
Organization: Youngstown State University/Youngstown Free-Net
Date: Sun, 4 Oct 1992 17:44:20 GMT
Lines: 19


As I don't have room on my hard drive to download the source to
the system, I'll ask this here in hopes of an answer  :)

If gcc compiles to straight 80x86 code, then how does the OS
handle running multiple programs?  I guess what I really want
to know is how the OS knows that after X amount of instructions
have been run, it is time to give control to another process for
X amount of instructions?  I guess what has sparked this interest
is my Operating Systems class, but our project in there is all
simulated so it's easy, but I can't for the life of me think how
to break in and out of things here.
    Thanks,
      -Dan
-- 
    -Dan Newcombe
Internet Address:  STDN@VM.MARIST.EDU
Youngstown Freenet: ae007@yfn.ysu.edu
GOAL: To put the world on 3.5" diskettes...  :)