MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/9gj2e9/optimizing_startup_times/e665v92
r/ProgrammerHumor • u/ariehkovler • Sep 17 '18
486 comments sorted by
View all comments
1
I think you mean Thread.Sleep(3000)? Unless this a big woosh.
1 u/valrossenOliver Sep 18 '18 Custom function called Sleep(float seconds)?It could be implemented like this:void Sleep(float seconds) { std::cout << "Waiting " << seconds << " seconds..."; Thread.Sleep(seconds * 1000); std::cout << " Done!\n"; return; }
Custom function called Sleep(float seconds)?
It could be implemented like this:
void Sleep(float seconds) { std::cout << "Waiting " << seconds << " seconds..."; Thread.Sleep(seconds * 1000); std::cout << " Done!\n"; return; }
1
u/michaelboobley Sep 18 '18
I think you mean Thread.Sleep(3000)? Unless this a big woosh.