commit | e8337b7e98fba9063d26d942407882eddd1e142b | [log] [tgz] |
---|---|---|
author | Brian Silverman <brians> | Sun Apr 27 19:52:19 2014 -0700 |
committer | Brian Silverman <brians> | Sun Apr 27 19:52:19 2014 -0700 |
tree | 4585d81f1e8118ddf0dde10ed0250e09bf4b965b | |
parent | 231209bc54abb3a88a048b4ef4c316fd9c293746 [diff] |
make all accesses to ref_count explicitly atomic It wasn't like this before out of sheer laziness. I think clang failed the static_assert that made sure it worked, but that might have only been when it was generating code for the wrong platform. Regardless, this is still a good idea.