Article View: comp.sys.powerpc
Article #3064Re: Debate: PowerMac "trounces" Pentium....???
From: Don Schmelling
Date: Tue, 06 Feb 1996 01:00
Date: Tue, 06 Feb 1996 01:00
41 lines
2794 bytes
2794 bytes
Kenneth Jason Fair (kjfair@midway.uchicago.edu) wrote:
:
: [the "infinite loop" program discussed]
:
: >I wrote:
:
: >: And again, so what? If I hit my computer with a sledgehammer, it
: >: won't work at all. That's why I don't go around hitting my computer
: >: with sledgehammers.
: >:
: >: Does cooperative multitasking allow you to run more than one program at
: >: the same time? Yes. Does preemptive multitasking do it better?
: >: Perhaps, depending on the situation and the programs involved.
: >: Can I get my work done either way? Yes.
: >
:
: In article <19960201.11A2980.E21F@olympus.net>, dons@olympus.net (Don
: Schmelling) wrote:
:
: >And once again, I must ask the question, but how are you runing more than
: >one program at once in a cooperative multitasking system, while a program
: >like that one is being run. The program never tells the os it is done
: >with the cpu and just uses up all of the cpu. If you are only running one
: >task that gets all of the cpu then you are not multitasking.
:
: Maybe you're interested in running infinite loop programs like that on
: your machine, but I can't think of a single instance where I've needed
: to. I'm interested in using software that actually has a point.
:
: Here's what you have to do to make your program multitaskable on the Mac:
: 1) Call the OS routine WaitNextEvent. This is the same routine that
: returns the next event for you to process, so that you can tell if
: the user hit a key, moved the mouse, etc.
Ah, but if that does not happen then it does not multitask.
------------------------------------- ------------------------------------
Don Schmelling Port Angeles, WA USA |
A1200/540/CD + A1230 50/50/8 | "Don't blame me, I voted Republican"
OMNIA EXTARES |
------------------------------------- ------------------------------------
Technical Details
Message-ID:
<19960205.11A30A0.F5D2@olympus.net>Path:
arc1-ca.pugleaf.net!olympus.net!usenetReferences:
<4csn1n$klb@macshack.com> <DKxzFK.2r6@eskimo.com> <4d3m6o$bb6@macshack.com> <4d428mINNe14@anaconda.cis.ohio-state.edu> <4d9ui4$e63@macshack.com> <david-1401960302090001@s245_7.resnet.ucla.edu> <1996Jan26.192156@eigb> <jragosta-2601961539320001Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!olympus.net!usenet From: dons@olympus.net (Don Schmelling) Newsgroups: comp.sys.powerpc,comp.os.linux.advocacy,comp.sys.mac.advocacy,comp.os.os2.advocacy,comp.sys.amiga.advocacy,comp.sys.intel Subject: Re: Debate: PowerMac "trounces" Pentium....??? Followup-To: comp.sys.powerpc,comp.os.linux.advocacy,comp.sys.mac.advocacy,comp.os.os2.advocacy,comp.sys.amiga.advocacy,comp.sys.intel Date: Mon, 5 Feb 96 17:00:34 PST Organization: Internet for the Olympic Peninsula Message-ID: <19960205.11A30A0.F5D2@olympus.net> References: <4csn1n$klb@macshack.com> <DKxzFK.2r6@eskimo.com> <4d3m6o$bb6@macshack.com> <4d428mINNe14@anaconda.cis.ohio-state.edu> <4d9ui4$e63@macshack.com> <david-1401960302090001@s245_7.resnet.ucla.edu> <1996Jan26.192156@eigb> <jragosta-2601961539320001 NNTP-Posting-Host: papm012.olympus.net X-Newsreader: TIN [AMIGA 1.3 950726BETA PL0]