gcode-mirror / ai-contest

Automatically exported from code.google.com/p/ai-contest
0 stars 1 forks source link

C++ 100% cpu on match abortions #56

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Quote from http://ai-contest.com/forum/viewtopic.php?f=18&t=418
"I've noticed that the C++ starter package creates a bot which, if the match is 
aborted (under windows anyway), will sit in the background using 100% CPU.

Here's what I think is a fix for it (seems to work for me, will need to test on 
the real server when the time comes). If this fix is good for linux then I'd 
recommend updating the starter package with the fix to avoid people locking up 
their machines (I have a 2-core machine, each core was locked with 100% CPU of 
a C++ bot! - it's times like this I wish I had 4 cores!)"

Original issue reported on code.google.com by mil...@gmail.com on 7 Sep 2010 at 3:39

GoogleCodeExporter commented 9 years ago

Original comment by mil...@gmail.com on 7 Sep 2010 at 3:40