What can you do about it?
•
synchronized
is a keyword that can
be applied to a method to say that one
and only one thread will have access to
this method at a time.
•
public synchronized void blah()
{ }