diff options
author | Brice Figureau <brice-puppet@daysofwonder.com> | 2010-07-25 19:04:44 +0200 |
---|---|---|
committer | Markus Roberts <Markus@reality.com> | 2010-07-25 22:24:50 -0700 |
commit | 3163932f70e824906d48edc9665b4017a4669797 (patch) | |
tree | 250f1ce88c2fbc35d9b7d28821db9cf8214d9061 /lib/puppet/util/autoload.rb | |
parent | 7d42f77b83a7597a879a0fc2080c18b7c76c6fc3 (diff) | |
download | puppet-3163932f70e824906d48edc9665b4017a4669797.tar.gz puppet-3163932f70e824906d48edc9665b4017a4669797.tar.xz puppet-3163932f70e824906d48edc9665b4017a4669797.zip |
Fix #4244 - Cached Attributes is not thread safe
The underlying hash is not protected and thus two threads accessing
the cached value at the same time and one expiring the value can result
in a race condition.
This patch synchronizes the access to the value_cache underlying hash.
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
Diffstat (limited to 'lib/puppet/util/autoload.rb')
0 files changed, 0 insertions, 0 deletions