Class Lock used for synchronization in concurrent programs.
Definition at line 19 of file Lock.h.
lock the object
Definition at line 23 of file Lock.h.
unlock the object (must be called as often as lock)
Definition at line 34 of file Lock.h.