NOTE: The following snippet of the Windows 95 source code was sent to us via
'unofficial' channels. Don't tell anyone you saw this! We really don't
feel like being visited by the Microsoft Intellectual Property Police.
void BusyLoop()
/* Do nothing loop to kill CPU cycles; added at the
request of Intel */
{
DisplayRandomSubliminalMessage();
for( int i = 0; i < BIG_INT; i++ )
for( int j = 0; j < BIG_INT; j++ )
for( int k = 0; k < BIG_INT; k++ )
for( int l = 0; l < BIG_INT; l++ )
if( STACK_SPACE_PERCENTAGE_FREE > .05 )
/* There's plenty of stack space left -- let's
eat up some more CPU cycles, recursively! */
BusyLoop();
}
Remember, an int is not always 16 bits. I'm not sure but if the 80386
is one step closer to Intel's slugfest with the CPU curve that is
asymptotically approaching a real machine, perhaps an int has been
implemented as 32 bits by some Unix vendors....