Proverbs, aphorisms, quotations (English) | by Linux fortune |
Actual Snippet of Windows Source Code! Honest! 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(); } |