
The map is modified in different places in the code which results in race conditions on execution. This commit locks the map with read-write lock when it is modified
The map is modified in different places in the code which results in race conditions on execution. This commit locks the map with read-write lock when it is modified