myLock
producer and consumer