Re: race condition (sort of)? message box verus function return

"speartip" <[email protected]> Wed, 15 Feb 2017 15:00:57 +0000
Newsgroups gmane.comp.lib.sdl
Message-ID <[email protected]>
> Flush exactly once, at the very end of your output, and always use 
> 'std::flush' instead of 'std::endl' because 'std::flush is more explicit 
> about your intention. 


Yes, following that advice, that's true. Makes more sense when I look at the changes.

>  That's a bad idea 
> because flushing slows down the program.


So what's the best balance in a speed optimized routine?

_______________________________________________
SDL mailing list
[email protected]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org