Add RWlock which is able to cross process