Actually, any decent C compiler will optimize away "while(1)", so that it will be no less efficient than "for(;;)".