> The first idea cannot be implemented in any application running under
> a sane operating system - or even many insane OSes! - though you
> could probably get an approximate 50% duty cycle by running a "do
> nothing" compute loop avoiding the FPU as a seperate process at the
> same priority as Prime95 - or setting the priority of Prime95 to 0,
> so that the system idle process steals cycles from it. The point is
> that an operating system must always allocate all the CPU cycles
> available (except those used to do make the process scheduling
> decisions) to some process or other.
sure it could. (I'm *not* suggesting this is a good idea or anything, but
for arguments sake...). Just put frequent calls to the OS dependent
'yield' function. To use even less CPU time, intersperse event timer waits
in the code.
_________________________________________________________________
Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
Mersenne Prime FAQ -- http://www.tasam.com/~lrwiman/FAQ-mers