VOGONS


Core 2 Duo vs Core 2 Quad under Windows XP 32

Topic actions

Reply 100 of 101, by dr_st

User metadata
Rank l33t
Rank
l33t
DaveDDS wrote on Yesterday, 04:32:
Launch a bunch of "busy" tasks - I use a simple BUSY loop in C: […]
Show full quote

Launch a bunch of "busy" tasks - I use a simple BUSY loop in C:

   for(;;);

which basically "loops at max speed forever"

I just write a batch file 1.bat with the single command @1 which runs itself forever. Don't use "call" otherwise it will blow the stack.

https://cloakedthargoid.wordpress.com/ - Random content on hardware, software, games and toys

Reply 101 of 101, by DaveDDS

User metadata
Rank Oldbie
Rank
Oldbie
dr_st wrote on Today, 20:13:

I just write a batch file 1.bat with the single command @1 which runs itself forever. Don't use "call" otherwise it will blow the stack.

Quite likely good - I just tend to not trust interpretive languages to not be "doing other stuff" from time to time (like checking keyboard buffer) - and such things "could" swap the tasks timeslice... so I tend to go for "hard loops". (and yeah, as a guy who's designed/written a few multi-tasking OSs over the years, I'm not entirely convinced all others are predictable)

Dave ::: https://dunfield.themindfactory.com ::: "Daves Old Computers"->Personal