Make Lock in synchronized.h safer
Make Lock in synchronized.h safer

class instead of struct.
Private myObject.
Lock extends NoCopy.
Constructor is now explicit.

oneminot/libcvd,oneminot/libcvd,oneminot/libcvd