Difference between revisions of "Thread:Talk:Multithreading/Reinventing wheels?/reply (3)"

From Robowiki
Jump to navigation Jump to search
 
(No difference)

Latest revision as of 03:27, 2 March 2019

I agree that computational tasks should not be allowed to run multithreaded in rumble or even in general robocode, or at least we should not allow threads to be run when other bots are running.

However as long as you do file I/O for data logging purposes, multithreading is essential as it’s not fair for your main threads to run blocking I/O only to get a lot skipped turns.

Anyway, a better solution is to provide this in robocode, so fairness is guaranteed.