The multiplayer game browser is not Energy Star compliant

This thing busy waits the CPU. Which means it pegs it doing nothing. Which, causes my CPU fan to go up and turns my computer into a heater. That is until the game starts, which ironically does not do this. You know how much electricity you are wasting worldwide from this? I can’t imagine trying to play this on a laptop.

Why? Shouldn’t this just be a select() call? How exactly does one busy wait the CPU waiting on network traffic? Put a bunch of socket read()s in a while loop or something?

“Unix Network Programming”, W. Richard Stevens, Prentice Hall
The Bible.
“TCP/IP Illustrated, Volume 2”, Gary R. Wright, W. Richard Stevens, Addison-Wesley

2 Likes