mapping/unmapping on multiple threads