cv should check the lock that is passed in
Implemented catmouse synch problem