aboutsummaryrefslogtreecommitdiffstats
path: root/guides/code/getting_started
diff options
context:
space:
mode:
authorTom Clarke <tom@u2i.com>2012-05-20 01:03:34 -0400
committerTom Clarke <tom@u2i.com>2012-05-21 14:24:30 -0400
commit685192bbcba7f887236ddf43ebb7d7dcf7409bd9 (patch)
treefdd8689e4da3ed3290d425631f932a8e6072ce11 /guides/code/getting_started
parentb23ac936a6ef980547666da002681a77d8340573 (diff)
downloadrails-685192bbcba7f887236ddf43ebb7d7dcf7409bd9.tar.gz
rails-685192bbcba7f887236ddf43ebb7d7dcf7409bd9.tar.bz2
rails-685192bbcba7f887236ddf43ebb7d7dcf7409bd9.zip
Make the Resolver template cache threadsafe - closes #6404
The Template cache in the Resolver can be accessed by multiple threads similtaneously in multi-threaded environments. The cache is implemented using a Hash, which isn't threadsafe in all VMs (notably JRuby). This commit extracts the cache to a new Cache class and adds mutexes to prevent concurrent access.
Diffstat (limited to 'guides/code/getting_started')
0 files changed, 0 insertions, 0 deletions