Re: Changing process priority



Walter Roberson schreef:

In order to get a hard guarantee that your process is not going to
use half (or more) of the CPU even when nothing else is waiting to run,
you would probably need to use an OS that provided "real time"
processes and processor quanta. Common operating systems don't
provide those kind of facilities (though I don't know if Linux has
them.)

What I am looking for is something like the 'doevents()' call in VB which allows one to keep the OS responsive while running my app (a game). I mean, how do all games do it? They have to loop somewhere in order to receive input... Or do they use some form of event-driven code?

--

Cheers,

John den Haan
joDhn[dot]haEan[at]chLello[dot]nl

Remove capital 'DEL' from above addy to obtain e-mail address
.



Relevant Pages

  • Re: Changing process priority
    ... use half of the CPU even when nothing else is waiting to run, ... processes and processor quanta. ... game). ...
    (comp.lang.c)
  • Re: New Xeon CPUs (Paxil) = Underpowered
    ... The problem, as usual, is comparing game system performance to PC ... Halo runs perfectly fine on a 733 mhz Xbox processor with, ... The Xbox 360's Xenon CPU features more general purpose cores than the ... findings - the two consoles, ...
    (alt.games.video.xbox)
  • Re: New Xeon CPUs (Paxil) = Underpowered
    ... > The problem, as usual, is comparing game system performance to PC ... both the Xbox 360 and the PlayStation ... > The Xbox 360's Xenon CPU features more general purpose cores than the ... > findings - the two consoles, ...
    (alt.games.video.xbox)
  • Re: Gottlieb System 1 (before you /sigh please?)
    ... Have you tried running it with the PROM adapter board out of the game ... My logic was running along the lines of 'hey, I got these two CPU ... the playfield from the switch matrix. ...
    (rec.games.pinball)
  • Re: MWS Stellar Wars no display not starting
    ... Your correct on the 1J3-4 blue/white wire it is same in my game. ... What does the blanking signal do anyway? ... Also jumper J3 is connected and J4 removed on the CPU board. ... what do the two LEDs on the CPU board do? ...
    (rec.games.pinball)