Added a mutex guard to vme read/write functions.