Directory : /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/ |
Current File : //opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/thread_local.rb |
require 'concurrent' # We want to use the pure Ruby implementation even on JRuby. If we use the Java # implementation of ThreadLocal, we end up leaking references to JRuby instances # and preventing them from being garbage collected. class Puppet::ThreadLocal < Concurrent::RubyThreadLocalVar end