simple sync with lock. acquire() and release()