diff options
author | Matthew Draper <matthew@trebex.net> | 2016-02-02 01:42:20 +1030 |
---|---|---|
committer | Matthew Draper <matthew@trebex.net> | 2016-02-02 03:21:03 +1030 |
commit | f836630f8cdf53a06259cc22ac842bbfa6376f65 (patch) | |
tree | e870b2cc12783ca8b436bc28ca22a2d9a960306d /activerecord/test/fixtures/vegetables.yml | |
parent | f02bd2a92c67f0d4190853521d3580766e829044 (diff) | |
download | rails-f836630f8cdf53a06259cc22ac842bbfa6376f65.tar.gz rails-f836630f8cdf53a06259cc22ac842bbfa6376f65.tar.bz2 rails-f836630f8cdf53a06259cc22ac842bbfa6376f65.zip |
After completing a load, give other threads a chance too
While we know no user code is running, we should do as much loading as
we can. That way, all the threads will then be able to resume running
user code together.
Otherwise, only the last arriving thread would get to do its load, and
would then return to userspace, leaving the others still blocked.
Diffstat (limited to 'activerecord/test/fixtures/vegetables.yml')
0 files changed, 0 insertions, 0 deletions