SECURITY-742: readwritelock
Merge pull request #5 from anilsaldhana/master

see comments