You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah, I'm pretty sure that synchronized run() has no effect at all. So, we basically suck.
Synchronizing a method just makes it so that multiple threads can't invoke that method at once, it doesn't magically protect all the variables inside. Since each thread has its own run() method, synchronized does nothing.
No basis for this, but I have a hunch that we've got some screwy/incorrect synchronization going on which might cause a few problems.
The text was updated successfully, but these errors were encountered: