Why do we pass self in @synchronized block?

Viewed 8083

I guess @synchronized blocks are not object dependent but thread dependent...right? In that case why do we pass self?

3 Answers
Related