Is this a correct use of synchronization?

Printable View