You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@geode.apache.org by GitBox <gi...@apache.org> on 2021/04/29 19:24:14 UTC

[GitHub] [geode-native] pivotal-jbarrett commented on pull request #776: GEODE-9078: Remove ACE mutexes

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:
users@infra.apache.org