elizarov
06/21/2017, 10:39 PMonNewThread
? You don't seem to be doing any blocking/expensive stuff at all... Moreover, there seems to be the code that modifies coloredDots
, currentTime
, and other mutable things from those new threads... Don't you run into data races?