Hi Daniel
I don't know what you want to test?
Your test is
thread safe because you have synchronize block inside of the run method, the synchronize ensure you that only one thread will operate (be in) the block. With other words your workflow looks like this :
thread 1 -> lock-operate-release ,after this
thread 2 -> lock-operate-release, after this
....
thread 3 -> lock-operate-release.
What you need is something where the lock and release are access in the same time by more than one thread.
Regards M
P.S. keep a Dr Pepper for me also