diff options
author | Nikita Afanasenko <nikita@afanasenko.name> | 2012-11-14 09:58:33 +0400 |
---|---|---|
committer | Nikita Afanasenko <nikita@afanasenko.name> | 2012-11-15 20:23:05 +0400 |
commit | 1fab2002e3385c40ef48008b649d78ce5e16a868 (patch) | |
tree | 795f34b3a2ec860c67884fed1ffe3fbbed969511 /actionpack/lib/action_controller/metal/rack_delegation.rb | |
parent | f732f9b7b822c9806cf3e07f127d0771b815500b (diff) | |
download | rails-1fab2002e3385c40ef48008b649d78ce5e16a868.tar.gz rails-1fab2002e3385c40ef48008b649d78ce5e16a868.tar.bz2 rails-1fab2002e3385c40ef48008b649d78ce5e16a868.zip |
Make XmlMini.with_backend usable with threads
`XmlMini.with_backend` now may be safely used with threads:
Thread.new do
XmlMini.with_backend("REXML") { rexml_power }
end
Thread.new do
XmlMini.with_backend("LibXML") { libxml_power }
end
Each thread will use it's own backend.
Diffstat (limited to 'actionpack/lib/action_controller/metal/rack_delegation.rb')
0 files changed, 0 insertions, 0 deletions