diff options
author | thedarkone <thedarkone2@gmail.com> | 2013-08-07 20:23:22 +0200 |
---|---|---|
committer | thedarkone <thedarkone2@gmail.com> | 2013-09-28 19:19:07 +0200 |
commit | 28572f59f828cc2b8309e8c477658fed2a38f83b (patch) | |
tree | 98f5e7dac1908b8ef13e0dd88c4ea9651fb97843 /actionview | |
parent | 2dea0dd099302de640aac28349569c002131c612 (diff) | |
download | rails-28572f59f828cc2b8309e8c477658fed2a38f83b.tar.gz rails-28572f59f828cc2b8309e8c477658fed2a38f83b.tar.bz2 rails-28572f59f828cc2b8309e8c477658fed2a38f83b.zip |
Use TS::Cache instead of Mutex + Hash.
TS::Cache#compute_if_absent guarantees that only a single thread will get to execute the provided block for a given key.
Diffstat (limited to 'actionview')
0 files changed, 0 insertions, 0 deletions