OH! One other question:
I'm guessing that just synchronizing the method won't do it since I've synchronized other
thread's access to the method not the list (?). Or does it lock everything inside it?
Anyways, let's say I do this:
public synchronized void Blah()
{
synchronized( list )
{
...
}
}
Do I run a risk of deadlock? Since I opened a lock inside a lock?