pivotal-jbarrett commented on pull request #776:
URL: https://github.com/apache/geode-native/pull/776#issuecomment-829524591


   > ```
   > TODO. Review mutex usage in PdxType as it is only used to read, so
   > either it's not necessary or we are missing write locks.
   > ```
   > 
   > Anyone happens to know why is there a RW mutex to protect just read 
access? Seems quite odd to me :S
   
   I vaguely recall this. I think at the time I didn't have time to research 
why it only ever appears to acquire the read lock. If it only acquires a read 
lock then it's rather useless and should be removed. It's also possible that 
there should be a write lock somewhere.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to